CocoaPods could not find compatible versions for pod "ReactCommon/jscallinvoker":

Nudge :

I just updated to RN v0.62 and running app on iOS gives me following error

!] 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`)`.

I deleted all node_modules and did npm i. I also did pod install in iOS directory but the issue persists. I also did pod repo update.

Nudge :

So I figure it out

Replace following line in your Podfile

pod 'ReactCommon/jscallinvoker', :path => "../node_modules/react-native/ReactCommon"

with

pod 'ReactCommon/callinvoker', :path => "../node_modules/react-native/ReactCommon"

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=375675&siteId=1