imperiumlabs / GeoFirestore-iOS

GeoFirestore for iOS - Realtime location queries with Firestore
MIT License
127 stars 46 forks source link

[!] CocoaPods could not find compatible versions for pod "FirebaseCore": #37

Closed eren-celik closed 4 years ago

eren-celik commented 4 years ago

[!] CocoaPods could not find compatible versions for pod "FirebaseCore": In snapshot (Podfile.lock): FirebaseCore (= 6.9.1, ~> 6.8)

In Podfile: Firebase/Firestore was resolved to 6.28.1, which depends on Firebase/CoreOnly (= 6.28.1) was resolved to 6.28.1, which depends on FirebaseCore (= 6.9.1)

Firebase/Firestore was resolved to 6.28.1, which depends on
  FirebaseFirestore (~> 1.16.2) was resolved to 1.16.2, which depends on
    FirebaseCore (~> 6.8)

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

pls help me

eren-celik commented 4 years ago

its too easy you only to do

use_frameworks!

line

Ronith Kandallu notifications@github.com şunları yazdı (20 Ağu 2020 01:11):

I'm getting the same error, let me know if you were able to figure this out

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/imperiumlabs/GeoFirestore-iOS/issues/37#issuecomment-676752821, or unsubscribe https://github.com/notifications/unsubscribe-auth/APAV3ZOOTFLWRDJPQH3ELI3SBREZBANCNFSM4PHSXWPQ.

bcartin commented 4 years ago

Hi erenlk,

I'm having the same issue, were you able to fix this? What exactly do you need to do with the use_frameworks line?

thanks

eren-celik commented 4 years ago

16

Here is the sample PodFile

Uncomment the next line to define a global platform for your project

platform :ios, '9.0'

target 'your_appName' do

Comment the next line if you don't want to use dynamic frameworks

use_frameworks!

pod 'GeoFire', '~> 4.0' pod 'SDWebImage'

Pods for your_appName

end

sgallo0692 commented 4 years ago

@bcartin were you able to fix this? stuck on this right now, not sure what the dependency problem is

bcartin commented 4 years ago

@bcartin were you able to fix this? stuck on this right now, not sure what the dependency problem is

@sgallo0692 Yes I did. imperiumlabs never fixed the issue but someone else did. Use this in your pod file instead:

pod 'Geofirestore', :git => 'https://github.com/patpatchpatrick/GeoFirestore-iOS'

all credit goes to patpatchpatrick

sgallo0692 commented 4 years ago

@bcartin hey thanks for the response, actually also found patpatchpatrick's fork as well and got it loaded up successfully. looks like our only option for now. thanks again