CocoaPods could not find compatible versions for pod "ReactCommon/jscallinvoker" 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 "EXFileSystem

#go to /ios and open  podfile 

the top of file 

platform :ios, '14.4.2'

'14.4.2' is the lastest verison

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