ios – Error when adding GeoFire library to Xcode, conflicting dependencies


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 to add I get the error below. I already have Firebase added to my project and it is version 10.16. Do I have to remove firebase and add a previous version such as 8.0 since that’s what GeoFire depends on. I simply need to create geo hashes and use them as a query for document search. What’s the best way I can achieve this?

photo

“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…
• unexpectedly did not find the new dependency in the package graph: sourceControl(identity: geofire-objc, location: SwiftPM.SPMPackageDependency.Sourc…”

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img