pod install 报错


 

错误信息

[!] CocoaPods could not find compatible versions for pod "JYCustomSegmentView":
  In Podfile:
    JYCustomSegmentView (~> 0.1.8)

None of your spec sources contain a spec satisfying the dependency: `JYCustomSegmentView (~> 0.1.8)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

  

此时 说本机的 例如 Podfile中AFNetworking的版本更新到了3.1.0,但是本地.cocoapods下找不到相应的配置文件。

本地库太老了。。 你要更新一下子:Updating local specs repositories 

pod repo update实际是本地 更新整个.cocoapods下的所有库

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM