【问题标题】:Installing GeoFire with cocoapods使用 cocoapods 安装 GeoFire
【发布时间】:2018-03-05 18:55:44
【问题描述】:

我目前正在尝试使用我的 Firebase 项目设置 GeoFire,并有一个像这样的 podfile:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target '[Appname]' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!

# Pods for [Appname]
pod 'Firebase/Core'
pod 'Firebase/Database'
pod 'GeoFire', '~> 1.1'

end

但是,运行 pod install 命令会出现此错误:

[!] 无法满足以下要求:

  • Firebase (~> 2.1) 需要 GeoFire (1.1.0)

已找到满足 Firebase (~> 2.1) 依赖项的规范,但它们需要更高的最小部署目标。

我不知道如何安装 GeoFire。 GeoFire 是否与新的 Firebase 不兼容?

【问题讨论】:

    标签: ios firebase firebase-realtime-database cocoapods geofire


    【解决方案1】:

    解决方案

    pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-30
      • 2020-04-30
      • 1970-01-01
      • 1970-01-01
      • 2014-01-31
      • 2014-03-06
      • 1970-01-01
      • 2022-10-26
      相关资源
      最近更新 更多