我需要将Firebase Pod更新到最新版本,但是,当我尝试在项目上运行Pod Update或Pod安装时出现以下错误
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配置,但是没有运气。
谢谢
答案 0 :(得分:0)
问题是Geofirestore pod's Firestore dependency是Firestore的非常老的Beta版本。
您可能想向Geofirestore提出问题,但自2018年7月here以来似乎没有进行过任何更新。