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