CocoaPods을 이용해서 FirebaseFirestoreSwift를 설치하려고 했는데
터미널에서 다음과 같은 에러가 발생했다.
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestoreSwift":
In Podfile:
FirebaseFirestoreSwift (= 8.11.0)
None of your spec sources contain a spec satisfying the dependency: `FirebaseFirestoreSwift (= 8.11.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.
검색해보니 7.0.0 릴리즈부터는 버전을 지정해줘야 한다.
참고: https://stackoverflow.com/questions/64670022/firebasefirestoreswift-wont-install-cocoapods
FirebaseFirestoreSwift won't install (CocoaPods)
I'm trying to load FirebaseFirestoreSwift and I'm getting the error message: [!] CocoaPods could not find compatible versions for pod "FirebaseFirestore": In snapshot (Podfile.lock)...
stackoverflow.com
참고: https://firebase.google.com/support/release-notes/ios
Firebase Apple SDK Release Notes
Send feedback Firebase Apple SDK Release Notes To review release notes for the Firebase console and for other Firebase platforms and related SDKs, refer to the Firebase Release Notes. Analytics Added support for parsing new campaign parameters utm_id, utm_
firebase.google.com

다음과 같이 podfile에서 사용하고자하는 버전을 지정해주니 정상적으로 설치되었다.
pod 'FirebaseFirestoreSwift', '8.11.0-beta'
댓글