Skip to content

CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core" #333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
JoergPf opened this issue Sep 7, 2022 · 6 comments
Labels
dependencies Pull requests that update a dependency file Firebase Issues related to using ML Kit along with Firabase

Comments

@JoergPf
Copy link

JoergPf commented Sep 7, 2022

Hi, I just installed google_ml_kit: ^0.12.0 and when I want to run on iOS I get the error:

[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
      In snapshot (Podfile.lock):
        GTMSessionFetcher/Core (< 2.1, < 3.0, = 2.0.0, >= 1.7)
      In Podfile:
        google_mlkit_barcode_scanning (from `.symlinks/plugins/google_mlkit_barcode_scanning/ios`) was resolved to 0.4.0, which depends on
          GoogleMLKit/BarcodeScanning (~> 3.1.0) was resolved to 3.1.0, which depends on
            MLKitBarcodeScanning (~> 2.1.0) was resolved to 2.1.0, which depends on
              MLKitVision (~> 4.1) was resolved to 4.1.0, which depends on
                GTMSessionFetcher/Core (~> 1.1)

Do I have to downgrade GTMSessionFetcher/Core? Or is there a better way to handle this?

Thx!

@sybrands-place
Copy link

sybrands-place commented Oct 19, 2022

[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
  In Podfile:
    cloud_functions (from `.symlinks/plugins/cloud_functions/ios`) was resolved to 4.0.1, which depends on
      Firebase/Functions (= 10.0.0) was resolved to 10.0.0, which depends on
        FirebaseFunctions (~> 10.0.0) was resolved to 10.0.0, which depends on
          GTMSessionFetcher/Core (~> 2.1)

    google_mlkit_barcode_scanning (from `.symlinks/plugins/google_mlkit_barcode_scanning/ios`) was resolved to 0.4.0, which depends on
      GoogleMLKit/BarcodeScanning (~> 3.1.0) was resolved to 3.1.0, which depends on
        GoogleMLKit/MLKitCore (= 3.1.0) was resolved to 3.1.0, which depends on
          MLKitCommon (~> 7.0.0) was resolved to 7.0.0, which depends on
            GTMSessionFetcher/Core (~> 1.1)

GoogleMLKit/BarcodeScanning 3.2.0 is available, so updating the podspec might resolve it.. will check it tomorrow.
-> nope does not resolve the issue

@sikandernoori
Copy link

Same issue.

[!] 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)
          ```

@antoniopetricc
Copy link

Same issue

[!] 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)

@sikandernoori
Copy link

The problem is with GTMSessionFetcher/Core.

Firebase Auth uses version 2.1 link

While MLKIT uses version 1.1 link

Someone from Google team has to update this in PODS.

PODS source is not available else I would have created a temporary pod.

@antoniopetricc
Copy link

The problem is with GTMSessionFetcher/Core.

Firebase Auth uses version 2.1 link

While MLKIT uses version 1.1 link

Someone from Google team has to update this in PODS.

PODS source is not available else I would have created a temporary pod.

How long will we have to wait for a fix?

@phiyale
Copy link

phiyale commented Nov 26, 2022

Solution here:
#357

@fbernaly fbernaly added dependencies Pull requests that update a dependency file Firebase Issues related to using ML Kit along with Firabase labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Firebase Issues related to using ML Kit along with Firabase
Projects
None yet
Development

No branches or pull requests

6 participants