jus*_*lbs 3 ios cocoapods firebase geofire
我正在尝试将Geofire添加到我的iOS项目中,该项目使用Google Firebase作为后端.当我添加Geofire pod并运行时,pod update我在终端中收到此消息...
[!] 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.
Run Code Online (Sandbox Code Playgroud)
这是我的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
Run Code Online (Sandbox Code Playgroud)
有关为什么会发生这种情况的任何想法?
所有输入都表示赞赏!
小智 6
其中一个解决方案是将git源添加到您的pod文件中,如下所示:
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'
Run Code Online (Sandbox Code Playgroud)
另外,如果您还有其他问题,请查看此github问题.这就是我让GeoFire使用我的项目的方式.
| 归档时间: |
|
| 查看次数: |
826 次 |
| 最近记录: |