Pod 安装错误:CocoaPods 找不到 pod "FirebaseFirestore" 的兼容版本
Error in Pod install: CocoaPods could not find compatible versions for pod "FirebaseFirestore"
elamparithibalakrishnan@MacBook-Pro-3 ios % pod install
Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`
cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In Podfile:
FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`)
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 2.2.1, which depends on
Firebase/Firestore (= 8.0.0) was resolved to 8.0.0, which depends on
FirebaseFirestore (~> 8.0.0)
我在执行 pod install 命令时遇到此错误,我删除了 podfile.lock 文件并执行了命令,但这显示了关于 Firebase 的错误。
谁能帮我解决这个问题?谢谢
这个问题已经解决,我只是把tag改成了8.0.0
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.0.0'
elamparithibalakrishnan@MacBook-Pro-3 ios % pod install
Analyzing dependencies
Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`
cloud_firestore: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '8.0.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In Podfile:
FirebaseFirestore (from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `7.3.0`)
cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`) was resolved to 2.2.1, which depends on
Firebase/Firestore (= 8.0.0) was resolved to 8.0.0, which depends on
FirebaseFirestore (~> 8.0.0)
我在执行 pod install 命令时遇到此错误,我删除了 podfile.lock 文件并执行了命令,但这显示了关于 Firebase 的错误。
谁能帮我解决这个问题?谢谢
这个问题已经解决,我只是把tag改成了8.0.0
pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.0.0'