GeoFire使CocoaPods出现问题 [英] GeoFire giving problems with CocoaPods
本文介绍了GeoFire使CocoaPods出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试将Geofire添加到使用Google Firebase作为后端的iOS项目中。当我添加Geofire吊舱并运行 pod update
时,我会在终端中收到此消息...
I'm trying to add Geofire to my iOS project that uses Google Firebase as a backend. When I add the Geofire pod and run pod update
I get this message in terminal...
[!] 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的样子……
Here is what my Podfile looks like...
# 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文件中,如下所示:
One of the solutions was to add the git source to your pod file like so:
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git'
另外,请签出如果您还有其他问题,请此github问题。这就是我让GeoFire与我的项目一起工作的方式。
Also, check out this github issue if you have any more problems. This is how I got GeoFire to work with my project.
这篇关于GeoFire使CocoaPods出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文