cocoapods could not find compatible versions for pod cloud_firestore 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 cloud_firestore

# platform :ios, '9.0'
change to 

platform :ios, '10.0'

Example 3: 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 4: 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

Tags:

Misc Example