我使用的是Firebase和GeoFirestore。我想更新我的Firebase pod,所以我将GeoFirestore podspec依赖项更新为'Firebase','~> 6.1.0‘。但是,Geofirestore具有Geofire依存关系,该依存关系具有Firebase/数据库(~>5.0)依存关系。如何获取具有5.0 Geofire依赖项的最新Firebase?
[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
In Podfile:
Geofirestore (from `https://collinesmon@github.com/CollinEsmon/GeoFirestore-iOS.git`) was resolved to 1.0.0, which depends on
GeoFire (~> 3.0) was resolved to 3.0.0, which depends on
Firebase/Database (~> 5.0)
Specs satisfying the `Firebase/Database (~> 5.0)` dependency were found, but they required a higher minimum deployment target.
发布于 2019-05-26 11:38:11
我最终只是手动将GeoFirestore和Geofire添加到我的应用程序中,而不是使用cocoapods。这似乎是目前唯一的解决方案。
发布于 2020-07-17 15:51:32
我在我的pod中使用了这个:
pod 'Geofirestore', :git => 'https://github.com/imperiumlabs/GeoFirestore-iOS.git'
我从here上找到的。
https://stackoverflow.com/questions/56301733
复制相似问题