Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GeoFire giving problems with CocoaPods

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.

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

Any thoughts as to why this is happening?

All input is appreciated!

like image 992
justColbs Avatar asked Dec 07 '25 14:12

justColbs


1 Answers

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'

Also, check out this github issue if you have any more problems. This is how I got GeoFire to work with my project.

like image 151
rohit563 Avatar answered Dec 10 '25 05:12

rohit563



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!