CocoaPods could not find compatible versions for pod
pod install can’t satisfy the version constraints — outdated spec repo, a higher deployment target required, or two pods needing conflicting versions.
Seen on:
iOS
Meaning
CocoaPods resolves all pods together. The message lists who requires what. Outdated local specs, the Podfile platform :ios being lower than a pod requires, or locked versions in Podfile.lock are the usual causes.
Common causes
- Local spec repo out of date
- Podfile platform / deployment target lower than the pod’s minimum
- Two pods requiring incompatible versions of a shared dependency
- Podfile.lock pinning old versions
⚡ Quick fix
pod repo updatethenpod install- Raise
platform :ios, '13.0'(or what the pod requires) pod update PodNameto move a locked pod- Consider Swift Package Manager for that dependency
Detailed fix by platform
iOS
- Typical fix sequence:bash
cd ios pod repo update pod install --repo-update # still stuck on a locked version: pod update FirebaseCore
How to diagnose
- Message — Which pod and which constraint?
- Platform — Deployment target vs pod minimum
- Lock — Pinned in Podfile.lock?
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 2 Oct 2026