首页 > 解决方案 > 为 Firebase 6.5.0 安装 Geofirestore

问题描述

我想使用 Geofirestore 库来做一些基于位置的查询。如果我使用 CocoaPods 安装它,它会将大多数 firebase 库降级为兼容版本。我想了解 Firebase 的最新信息,但仍然可以运行 Geofirestore/Geofire

这是我得到的错误

[!] CocoaPods could not find compatible versions for pod "FirebaseCore":


In Podfile:
    GeoFire (from `https://github.com/firebase/geofire-objc.git`) was resolved to 3.0.0, which depends on
      Firebase/Database (~> 6.0) was resolved to 6.5.0, which depends on
        Firebase/CoreOnly (= 6.5.0) was resolved to 6.5.0, which depends on
          FirebaseCore (= 6.1.0)



GeoFire (from `https://github.com/firebase/geofire-objc.git`) was resolved to 3.0.0, which depends on
  Firebase/Database (~> 6.0) was resolved to 6.5.0, which depends on
    FirebaseDatabase (~> 6.0.0) was resolved to 6.0.0, which depends on
      FirebaseCore (~> 6.0)

Geofirestore (from `https://github.com/imperiumlabs/GeoFirestore-iOS.git`) was resolved to 1.0.0, which depends on
  FirebaseCore (~> 5.0)

有人可以帮我解决这个问题吗?我读过人们一直在手动安装它..但我不知道该怎么做。任何帮助是极大的赞赏。

阿维德

标签: iosswiftfirebasegeofiregeofirestore

解决方案


GeoFirestore CocoaPod 需要更新。见https://github.com/imperiumlabs/GeoFirestore-iOS/issues/19


推荐阅读