![](/img/trans.png)
[英]How to get rid of "CocoaPods could not find compatible versions for pod" ? I tried updating cocoapod and pod repo
[英]CocoaPods not updating pod, compatible version for pod FirebaseFirestore
我需要將我的 firebase pod 更新到最新版本,但是當我嘗試在我的項目上運行 pod update 或 pod install 時出現以下錯誤
Update all pods
Updating local specs repositories
Analyzing dependencies
Pre-downloading: `MessageKit` from `https://github.com/MessageKit/MessageKit.git`, branch `3.0.0-swift5`
[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In Podfile:
Firebase/Firestore was resolved to 6.14.0, which depends on
FirebaseFirestore (~> 1.8.2)
Geofirestore was resolved to 0.1.0, which depends on
FirebaseFirestore (~> 0.12.3)
我的 podfile 是:
platform :ios, '13.0'
target 'ApproachApp' do
use_frameworks!
pod 'Firebase/Auth', '~> 6.14.0'
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'FirebaseUI/Storage'
pod 'Toast-Swift', '~> 5.0.0'
pod 'FacebookCore'
pod 'FacebookLogin'
pod 'Geofirestore'
pod 'UPCarouselFlowLayout'
pod 'MessageKit', :git => 'https://github.com/MessageKit/MessageKit.git', :branch => '3.0.0-swift5'
end
我還嘗試了一個全新的項目和相同的 pod 配置,但沒有成功。
謝謝
問題是Geofirestore pod 的 Firestore 依賴於一個非常舊的測試版 Firestore。
您可能想向 Geofirestore 提交問題,但自 2018 年 7 月以來似乎沒有更新在這里。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.