cocoapods could not find compatible versions for pod firebase/messaging code example
Example 1: CocoaPods could not find compatible versions for pod "Firebase/Messaging":
I had the same problem, but I solved it like this
rm Podfile.lock
pod install --repo-update
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