1

我正在使用 Firebase 和 GeoFirestore。我想更新我的 Firebase pod,所以我将 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.
4

2 回答 2

0

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

于 2019-05-26T03:38:11.060 回答
0

我在我的 pod 中使用了这个:

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

我从这里找到的。

于 2020-07-17T07:51:31.510 回答