为了通过CocoaPods安装AudioKit 4.1,我在终端上做了pod 'AudioKit', '~> 4.1'
,但是我收到了一个错误:
[!] Unable to satisfy the following requirements:
- AudioKit (~> 4.1) required by Podfile
None of your spec sources contain a spec satisfying the dependency: AudioKit (~> 4.1).
怎么了?
我使用Swift 4和Xcode 9.2。
答案 0 :(得分:4)
现在应该修复!
AudioKit (4.1) successfully published
February 13th, 17:01
https://cocoapods.org/pods/AudioKit
Tell your friends!
答案 1 :(得分:2)
目前, AudioKit 4.0.4 是您可以直接从CocoaPods安装的最新版本。只需从依赖项中删除箭头,或将其替换为~> 4.0.4
。
或者,您可以将依赖关系指向GitHub,以便能够使用4.1:
pod 'AudioKit', :git => 'https://github.com/AudioKit/AudioKit.git'