CocoaPods could not find compatible versions for pod "react-native-document-picker": 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