I am trying to add the GeoFire library to my Xcode project so I can use the geo hash query with firebase. When I copy the GitHub url of the GeoFire library and add it to the Xcode package manager I get the error below.
“Failed to resolve dependencies Dependencies could not be resolved because ‘geofire-objc’ depends on ‘firebase-ios-sdk’ 7.0.0..<9.0.0 and root depends on ‘firebase-ios-sdk’ 10.16.0..<11.0.0.”
I already have Firebase added to my project and it is version 10.16. But GeoFire only works with firebase 7..<9. This means I have to downgrade firebase to use geofire or somehow get a newer version of geofire that can work with my current firebase version.
I am using firebase only for: Authentication, Firebase Database, Firestore storage, and Database document queries. If I downgrade firebase will any of these be affected? If not how do I go about downgrading firebase. If downgrading firebase does affect my use then is there a way to add geofire and have it work with my current firebase version? I only want to use Geofire to make geo hashes and query documents in the database based on a geo hash field. Id appreciate some insight.




