[!] CocoaPods could not find compatible versions for pod "Folly"問題舉例


$ pod install 后出現下面錯誤:

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

  In snapshot (Podfile.lock):

    Folly (from `./RNComponent/node_modules/react-native/third-party-podspecs/Folly.podspec`)

  In Podfile:

    Folly (from `./RNComponent/node_modules/react-native/third-party-podspecs/Folly.podspec`)

    React/CxxBridge (from `./RNComponent/node_modules/react-native`) was resolved to 0.57.5, which depends on

      Folly (= 2016.10.31.00)

 以為是cocoapods 版本高了,用低版本的試試

$ pod _1.1.1_ install  ,依然報錯

[!] Unable to satisfy the following requirements: 

- `Folly (from `./RNComponent/node_modules/react-native/third-party-podspecs/Folly.podspec`)` required by `Podfile`

- `Folly (= 2016.10.31.00)` required by `React/CxxBridge (0.57.5)`

仔細看下錯誤原因,發現 CxxBridge 應該去掉,去掉即可

 


免責聲明!

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



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