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

Dependency conflict #18

Open
sarbogast opened this issue May 16, 2019 · 8 comments
Open

Dependency conflict #18

sarbogast opened this issue May 16, 2019 · 8 comments

Comments

@sarbogast
Copy link

When I try to install that library into my project, CocoaPods gives me the following message:

[!] CocoaPods could not find compatible versions for pod "FirebaseFirestore":
In snapshot (Podfile.lock):
FirebaseFirestore (= 1.2.1)

In Podfile:
Firebase/Firestore was resolved to 5.20.2, which depends on
FirebaseFirestore (= 1.2.1)

Geofirestore was resolved to 0.1.0, which depends on
  FirebaseFirestore (~> 0.12.3)

What should I do?

@tennydesign
Copy link

same here

@RNUK
Copy link

RNUK commented May 20, 2019

Yes. Just tried to install tonight and got the same error

@ajself
Copy link

ajself commented May 21, 2019

Looks like there was a version bump to the podspec but a new release was never made.

Pointing the Podfile to master instead of 1.2 as a test should compile fine but... that isn't safe for any app wanting to use this in production. Solution should be to prompt the powers that be to cut a new release and push to Cocoapods.

@tennydesign
Copy link

I've just switched to use Geofire for Firebase and will, for now, operate the two databases. That was the most reliable choice for us.

@RNUK
Copy link

RNUK commented May 21, 2019

I did notice there was a branch to 1.0.0 so updated my podfile and re-installed. Both Firestore and GeoFirerstore resolved, but I ended up with a deployment target error. Looks like a small fix my side to resolve this issue.

@diegogarciar
Copy link

Can you please update your dependencies?

I had to downgrade from
Installing Firebase (6.6.0) -> (5.20.2)
Installing FirebaseAnalytics (6.1.0) -> (5.8.1)
Installing FirebaseAuth (6.2.2) -> (5.4.2)
Installing FirebaseCore (6.2.0) -> (5.4.1)
Installing FirebaseFirestore (1.4.3) ->(0.16.1)
Installing FirebaseInstanceID (4.2.3) -> (3.8.1)
Installing FirebaseStorage (3.4.0) -> (3.1.1)

I need to have the latest versions of firebase SDKs

@diegogarciar
Copy link

it seems the issue is also caused by GeoFire being outdated. I ended up installing them both as following:

pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc'
pod 'Geofirestore', :git => 'https://github.com/basementaspirations/GeoFirestore-iOS', :branch => 'firebase-upgrade'

@blackwiz4rd
Copy link

it seems the issue is also caused by GeoFire being outdated. I ended up installing them both as following:

pod 'GeoFire', :git => 'https://github.com/firebase/geofire-objc'
pod 'Geofirestore', :git => 'https://github.com/basementaspirations/GeoFirestore-iOS', :branch => 'firebase-upgrade'

Solved the issue by doing this

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

6 participants