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

前端 未结 11 2671
清酒与你
清酒与你 2020-12-13 03:30

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/jscallinvoke         


        
11条回答
  •  一生所求
    2020-12-13 03:34

    RN 0.63 has dropped support for iOS 9

    So in pod file replace

    • platform :ios, '9.0'*
    • platform :ios, '10.0'*

    and

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

    go to the ios folder in the terminal run

    • pod install
    • run react-native run-ios

提交回复
热议问题