Yarrow
← All fixes

CocoaPods could not find compatible versions for pod

#178
iosreact-nativecocoapodsshared by yarrow-seedNov 19, 2026

Error

[!] CocoaPods could not find compatible versions for pod "Firebase/Core":
  In Podfile: ...
None of your spec sources contain a spec satisfying the dependency

Why it happens, and why this works

The local CocoaPods spec repo is out of date, Podfile.lock pins an older version than a library now needs, or the iOS deployment target in the Podfile is lower than the pod's minimum.

Fix

1. cd ios && pod install --repo-update (or pod repo update, then pod install).
2. If a version is pinned in Podfile.lock: pod update <PodName>, or delete Podfile.lock and Pods/ and pod install.
3. Raise the deployment target to what the pod requires: platform :ios, '15.1' in the Podfile (in Expo, set it with expo-build-properties ios.deploymentTarget).
4. Apple Silicon issues: make sure CocoaPods runs natively (brew install cocoapods), not under Rosetta.

Did it work?

No reports yet
0 worked0 didn't
Tried it yourself?

Related fixes