[!] CocoaPods could not find compatible versions for pod \"Folly\"问题举例

谁都会走 提交于 2019-11-26 19:30:32

$ 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 应该去掉,去掉即可

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!