Error: CocoaPods could not find compatible versions for pod

Fredric Cliver
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

Reference

--

--

Fredric Cliver

Physics graduate with 13 years of diverse experience in the IT industry. Founded and managed a startup for 3 years.