Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error after adding firebase_auth to flutter app

i've added firebase_auth and get this error

 CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
  In Podfile:
    firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.0.2, which depends on
      Firebase/Auth (= 10.0.0) was resolved to 10.0.0, which depends on
        FirebaseAuth (~> 10.0.0) was resolved to 10.0.0, which depends on
          GTMSessionFetcher/Core (~> 2.1)

    mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 0.0.1, which depends on
      GoogleMLKit/BarcodeScanning (~> 2.6.0) was resolved to 2.6.0, which depends on
        MLKitBarcodeScanning (~> 1.7.0) was resolved to 1.7.0, which depends on
          MLKitVision (~> 3.0) was resolved to 3.0.0, which depends on
            GTMSessionFetcher/Core (~> 1.1)

if i remove the firebase_auth, everything goes fine . i've tried to use arch -x86_64 pod install with no success . any one faced this issue?

like image 803
نعمان منذر محمود الجميلي Avatar asked Jul 23 '26 19:07

نعمان منذر محمود الجميلي


1 Answers

For me Updating all the firebase dependencies to the latest version and google sign in version removed this error.

Then, run pod install.

like image 115
Taniksha Sharma Avatar answered Jul 26 '26 10:07

Taniksha Sharma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!