【问题标题】:Couldn't install AudioKit 4.1无法安装 AudioKit 4.1
【发布时间】:2018-02-13 15:51:14
【问题描述】:

为了通过 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。

【问题讨论】:

    标签: swift xcode cocoapods audiokit


    【解决方案1】:

    现在应该解决这个问题!

     ?  AudioKit (4.1) successfully published
     ?  February 13th, 17:01
     ?  https://cocoapods.org/pods/AudioKit
     ?  Tell your friends!
    

    【讨论】:

    • @sgt.kowalski 这不是 cmets 最有用的。
    • 抱歉 Aure,与我最初发布的情况相比没有任何改变。
    • 那你的源码不是最新的,我刚刚测试了一下,运行正常,找到了4.1版本的pod。
    • 我做了pod repo update,我可以安装AudioKit 4.1。谢谢!
    【解决方案2】:

    目前,AudioKit 4.0.4 是您可以直接从 CocoaPods 安装的最新版本。只需从依赖项中删除箭头或将其替换为~> 4.0.4

    或者,您可以将依赖项指向 GitHub 以便能够使用 4.1:

    pod 'AudioKit', :git => 'https://github.com/AudioKit/AudioKit.git'
    

    【讨论】:

    • 谢谢你的回复,但是他们说他们已经发布了AudioKit 4.1。看看网站。 audiokit.io/downloads
    • @sgt.kowalski 我知道 4.1 已经发布。但是,它还不能在 CocoaPods 上使用。
    • @sgt.kowalski 如果您不介意使用 GitHub 源作为依赖项,请查看我更新的答案。
    • 我们在验证 podspec 时遇到了一些问题,应该在今天晚些时候解决。
    猜你喜欢
    • 2021-11-30
    • 2011-04-10
    • 2015-10-26
    • 2011-10-10
    • 2016-04-16
    • 1970-01-01
    • 1970-01-01
    • 2019-01-30
    • 1970-01-01
    相关资源
    最近更新 更多