GeoFirestore GeoFire依赖关系不允许我更新Firebase

时间:2019-05-25 04:36:16

标签: swift firebase cocoapods geofire geofirestore

我正在使用Firebase和GeoFirestore。我想更新我的Firebase吊舱,所以我将GeoFirestore podspec依赖项更新为“ Firebase”,“〜> 6.1.0”。但是,Geofirestore具有Geofire依赖性,该依赖性具有Firebase / Database(〜> 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.

2 个答案:

答案 0 :(得分:0)

我最终只是将GeoFirestore和Geofire手动添加到了我的应用程序中,而不是使用cocoapods。这似乎是目前唯一的解决方案。

答案 1 :(得分:0)

我在吊舱中使用了它:

pod 'Geofirestore', :git => 'https://github.com/imperiumlabs/GeoFirestore-iOS.git'

我是从here找到的。