我目前正在尝试用我的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但是,运行命令会出现以下错误:
好了!无法满足下列要求:
Firebase (~> 2.1)由GeoFire (1.1.0)要求可以找到满足Firebase (~> 2.1)依赖的规范,但它们需要更高的最低部署目标。
我不知道如何安装GeoFire。GeoFire不与新的Firebase兼容吗?
发布于 2017-09-24 20:42:34
解决方案
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'https://stackoverflow.com/questions/46394458
复制相似问题