I'm working on SDK that uses 3-rd party dependencies to: https://github.com/delannoyk/AudioPlayer
The problem is when you install it with Carthage while I'm working on that framework name is AudioPlayer.framework
, but when installing with Cocoapods this is KDEAudioPlayer.framework
and I want to specify imports in my header SDK.h
file as:
@import AudioPlayer;
And when installing with carthage it works, but installing with cocoapods this raise Build error. And then going further how to use it in code with for example:
func audioPlayer(_ audioPlayer: AudioPlayer, didUpdateProgressionTo time: TimeInterval, percentageRead: Float) {
Should I use AudioPlayer
or KDEAudioPlayer
? How to make it works?