CocoaPods could not find compatible versions for pod "React/Core code example

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

// replace 

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

//with

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

Example 2: CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install

CocoaPods could not find compatible versions for pod "razorpay_flutter" when running pod install

This is due to your minimum deployment target being less than iOS 10.0. To change this, open ios/Podfile in your project and add/uncomment this line at the top:

# platform :ios, '9.0'
change to 

platform :ios, '10.0'

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

install pod again