gpt4 book ai didi

swift3 - Kanna( XML/HTML 解析器) swift3 不安装

转载 作者:行者123 更新时间:2023-12-02 06:50:59 24 4
gpt4 key购买 nike

我无法在 Swift 3.0 中安装 Kanna。我的 PodFile 中有以下内容:

use_frameworks!
pod 'Kanna', '~> 2.0.0'

出现以下错误:

[!] Unable to satisfy the following requirements:

  • Kanna (~> 2.0.0) required by Podfile
  • Kanna (~> 2.0.0) required by Podfile
  • Kanna (~> 2.0.0) required by Podfile

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 on pod
install
by default.

最佳答案

需要 CocoaPods (0.39 或更高版本) ⚠️

您在 PodFile 中错过了 ':

use_frameworks!
pod 'Kanna', '~> 2.0.0'

如果使用提交仍然不起作用,您可以尝试以下操作:

pod 'Kanna', :git => 'https://github.com/tid-kijyun/Kanna.git', :commit => '6ae52df72adf42e20147c98c77732d51e0e9294b'

关于swift3 - Kanna( XML/HTML 解析器) swift3 不安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39532006/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com