[REQUIRED] Step 1: Describe your environment
- Xcode version: 11.2.1
- Firebase SDK version: IDK
- Firebase Component: Firestore, Core, Storage, Auth, FirebaseMessaging
- Component version: ‘~> 6.7.0’
- Installation method:
CocoaPods
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
Add to Podfile (according to the docs):
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
run pod repo update
run pod install
Output error:
[!] CocoaPods could not find compatible versions for pod “Firebase/Crashlytics”:
In Podfile:
Firebase/Crashlytics
None of your spec sources contain a spec satisfying the dependency: Firebase/Crashlytics
.
You have either:
- out-of-date source repos which you can update with
pod repo update
or withpod install --repo-update
. - mistyped the name or version.
- not added the source repo that hosts the Podspec to your Podfile.
I have ran pod repo update, also tried pod install –repo-update but no luck.
Full Podfile Firebase pods:
pod 'Firebase/Firestore', '~> 6.7.0'
pod 'Firebase/Core', '~> 6.7.0'
pod 'Firebase/Storage', '~> 6.7.0'
pod 'FirebaseMessaging', '~> 4.1'
pod 'Firebase/Crashlytics'
pod 'Firebase/Analytics'
Ok I was able to solve it by using following set of dependencies:
Took the documentation about available pods here.