DEV Community

Dalitso Kasonde
Dalitso Kasonde

Posted on

[!] CocoaPods could not find compatible versions for pod "cloud_firestore": In Podfile:

Error message

[!] CocoaPods could not find compatible versions for pod "cloud_firestore":
In Podfile:
cloud_firestore (from .symlinks/plugins/cloud_firestore/ios)

Solution

  1. Go to ios/Pods/Local Podspevs directory in your project
  2. Check every json file to find highest required ios version. Mine was "ios": "10.0" in some of them
  3. Go back to ios/ directory
  4. Open Podfile file
  5. Uncomment # platform :ios, '9.0' and replace 9.0 with version from 2. step, for example 10.0. # platform :ios, '9.0' > platform :ios, '10.0'
  6. Run pod install, error should be gone

Top comments (0)