CocoaPods could not find compatible versions for pod "Firebase/Messaging": In snapshot (Podfile.lock) code example
Example: 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