はじめに
Firebase登録後にiosディレクトリでpod installコマンドを打ったところ、エラーが起きたので解決法についてまとめておきます。
エラー文
terminal
[!] CocoaPods could not find compatible versions for pod "Firebase/Firestore":
In Podfile:
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 4.5.0, which depends on
Firebase/Firestore (= 10.7.0)
None of your spec sources contain a spec satisfying the dependency: `Firebase/Firestore (= 10.7.0)`.
You have either:
* out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
* mistyped the name or version.
* not added the source repo that hosts the Podspec to your Podfile.
解決法
iosディレクトリで、
terminal
pod repo update
pod install
参考