我不能在Swift 3.0中安裝Kanna。我在PodFile如下:Kanna(XML/HTML parser)swift3不要安裝
use_frameworks!
pod 'Kanna', '~> 2.0.0'
它正在以下錯誤:(0.39或更高版本)需要
[!] Unable to satisfy the following requirements:
Kanna (~> 2.0.0)
required byPodfile
Kanna (~> 2.0.0)
required byPodfile
Kanna (~> 2.0.0)
required byPodfile
None of your spec sources contain a spec satisfying the dependency:
Kanna (~> 2.0.0)
.You have either: * out-of-date source repos which you can update with
pod repo update
. * mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile.Note: as of CocoaPods 1.0,
pod repo update
does not happen onpod install
by default.
OK)但是,通過使用提交ID –
嘗試是的。這行得通。謝謝。 – odemolliens
同樣的錯誤 –