Error: CocoaPods could not find compatible versions for pod
1 min readMar 5, 2021
Error Message
[!] CocoaPods could not find compatible versions for pod "FirebaseCore":In snapshot (Podfile.lock):FirebaseCore (= 7.1.0, ~> 7.0)In Podfile:Firebase/Analytics was resolved to 7.1.0, which depends onFirebase/Core (= 7.1.0) was resolved to 7.1.0, which depends onFirebase/CoreOnly (= 7.1.0) was resolved to 7.1.0, which depends onFirebaseCore (= 7.1.0)Firebase/Analytics was resolved to 7.1.0, which depends onFirebase/Core (= 7.1.0) was resolved to 7.1.0, which depends onFirebaseAnalytics (= 7.1.0) was resolved to 7.1.0, which depends onFirebaseCore (~> 7.0)FirebaseFirestoreSwift was resolved to 0.4.0, which depends onFirebaseFirestore (>= 1.6.1, ~> 1.6) was resolved to 1.15.0, which depends onFirebaseCore (~> 6.2)
Solution
$ rm Podfile.lock$ pod install --repo-update