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

 

相关文章:

  • 2021-09-27
  • 2022-12-23
  • 2022-01-16
  • 2021-09-17
  • 2022-12-23
  • 2021-09-24
  • 2021-11-16
  • 2021-04-04
猜你喜欢
  • 2021-08-28
  • 2022-03-02
  • 2022-12-23
  • 2021-05-28
  • 2021-03-31
  • 2021-09-05
  • 2021-04-16
相关资源
相似解决方案