CocoaPods could not find compatible versions for pod


解決方案是執行: 

 pod repo update --verbose

再執行命令:

pod install

如果還是出錯,刪除podfile.lock文件

如果還報錯就刪除 第三方庫的版本再次執行pod install就可以了

 

//以下是報錯的問題

superlee-MacBook-Pro ios_code_new_warehouse % pod install  

Analyzing dependencies

[!] The version of CocoaPods used to generate the lockfile (1.11.0) is higher than the version of the current executable (1.10.1). Incompatibility issues may arise.

[!] CocoaPods could not find compatible versions for pod "JMLink":

  In snapshot (Podfile.lock):

    JMLink (= 1.2.4)

 

  In Podfile:

    JMLink (= 1.2.4)

 

None of your spec sources contain a spec satisfying the dependencies: `JMLink (= 1.2.4), JMLink (= 1.2.4)`.

 

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.

lichao@superlee-MacBook-Pro ios_code_new_warehouse % pod install

Analyzing dependencies

[!] CocoaPods could not find compatible versions for pod "JMLink":

  In Podfile:

    JMLink (= 1.2.4)

 

None of your spec sources contain a spec satisfying the dependency: `JMLink (= 1.2.4)`.

 

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.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM