【发布时间】: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