[!] 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 应该去掉,去掉即可

 

转载于:https://www.cnblogs.com/richard-youth/p/10338459.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值