Installing Geofirestore with cocoapods?

136 Views Asked by At

I am trying to install Geofirestore with Cocoapods. I put pod 'Geofirestore' in my podfile but I get an error:

Geofirestore was resolved to 0.1.0, which depends on FirebaseCore (~> 5.0.3)

How do I install Geofirestore?

My podfile is as such:

pod 'Firebase/Firestore'
pod 'Firebase/Analytics'
pod 'Firebase/Storage'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'FirebaseFirestoreSwift', '~> 7.0-beta'
pod 'SDWebImageSwiftUI'
pod 'Geofirestore'
1

There are 1 best solutions below

1
On

Geofirestore is not compatible with FirebaseFirestoreSwift since Geofirestore depends on Firebase 5.x and FirebaseFirestoreSwift was introduced in Firebase 6.x.

Two options:

  • Contact or work with Geofirestore on an update to work with recent Firestore releases.
  • Drop FirebaseFirestoreSwift and use older Firebase versions for the other Firebase pods.