相关疑难解决方法(0)

CocoaPods 找不到 pod "ReactCommon/jscallinvoker" 的兼容版本:

我刚刚更新到 RN v0.62 并且在 iOS 上运行应用程序给了我以下错误

!] CocoaPods could not find compatible versions for pod "ReactCommon/jscallinvoker":
  In snapshot (Podfile.lock):
    ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)

  In Podfile:
    ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)

None of your spec sources contain a spec satisfying the dependency: `ReactCommon/jscallinvoker (from `../node_modules/react-native/ReactCommon`)`.
Run Code Online (Sandbox Code Playgroud)

我删除了所有 node_modules 并做了 npm i。我也在iOS目录中安装了pod,但问题仍然存在。我也做了 pod repo 更新。

cocoapods react-native

136
推荐指数
8
解决办法
5万
查看次数

标签 统计

cocoapods ×1

react-native ×1