Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to update Firebase due to Geofirestore/Geofire dependencies #19

Open
CollinEsmon opened this issue May 25, 2019 · 9 comments
Open

Comments

@CollinEsmon
Copy link

CollinEsmon commented May 25, 2019

I want to update Firebase, so I updated the GeoFirestore podspec dependency to 'Firebase', '> 6.1.0'. However, Geofirestore has a Geofire dependancy which has a Firebase/Database (>5.0) dependency. What can I do to update Firesbase with these dependencies?

[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
  In Podfile:
    Geofirestore (from 'https://collinesmon@github.com/CollinEsmon/GeoFirestore-iOS.git') was resolved to 1.0.0, which depends on
      GeoFire (~> 3.0) was resolved to 3.0.0, which depends on
        Firebase/Database (~> 5.0)

Specs satisfying the 'Firebase/Database (~> 5.0)' dependency were found, but they required a higher minimum deployment target.
@fathy000
Copy link

same

@TazStrohmayer
Copy link

same here. I need to update firebase to take advantage of latest ML and Firestore updates but this dependency is holding everything back.

@arvidurs
Copy link

Right now this is stopping development on the app. Would be great if it could be updated

@basementaspirations
Copy link
Contributor

Are there any plans to update this? We are stuck with this

@theonlynick0430
Copy link
Member

Sorry, currently we don't have much time to maintain the library. Any help though would be appreciated.

@basementaspirations
Copy link
Contributor

basementaspirations commented Jul 30, 2019 via email

@dhruvshah1214
Copy link
Member

dhruvshah1214 commented Jul 30, 2019 via email

@blackwiz4rd
Copy link

You can solve by doing this
pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git' pod 'Geofirestore', :git => 'https://github.com/imperiumlabs/GeoFirestore-iOS.git'

@scm573
Copy link

scm573 commented Sep 20, 2019

I tried @blackwiz4rd 's suggestion but there seems to be another missing piece.

The root cause that dependency couldn't be updated is this:
firebase/geofire-objc#127

So before Firebase guys publish the latest release and fix the CocoaPods distribution, we have to specify the branch like this:

pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc.git', :branch => 'master'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants