我正在尝试将Geofire添加到我的iOS项目中,该项目使用Google Firebase作为后端.当我添加Geofire pod并运行pod update时,我在终端中收到此消息… [!] Unable to satisfy the following requirements:- `Firebase` re
[!] Unable to satisfy the following requirements: - `Firebase` required by `Podfile` - `Firebase (~> 2.1)` required by `GeoFire (1.1.0)` Specs satisfying the `Firebase, Firebase (~> 2.1)` dependency were found, but they required a higher minimum deployment target.
这是我的Podfile的样子……
# Uncomment this line to define a global platform for your project # platform :ios, '8.0' # Uncomment this line if you're using Swift use_frameworks! target 'HopUp' do pod 'Firebase' pod 'FirebaseAuth' pod 'Firebase/Core' pod 'Firebase/Database' pod 'Firebase/Storage' pod 'FBSDKCoreKit' pod 'FBSDKLoginKit' pod 'GeoFire', '>= 1.1' end
有关为什么会发生这种情况的任何想法?
所有输入都表示赞赏!
其中一个解决方案是将git源添加到您的pod文件中,如下所示:pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'
另外,如果您还有其他问题,请查看this github issue.这就是我让GeoFire使用我的项目的方式.