DEV Community

Dalitso Kasonde
Dalitso Kasonde

Posted on

1

[!] 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)

AWS Q Developer image

Your AI Code Assistant

Generate and update README files, create data-flow diagrams, and keep your project fully documented. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay