juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.
BSD 3-Clause "New" or "Revised" License
744 stars 444 forks source link

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

Closed JesusMenaD closed 3 weeks ago

JesusMenaD commented 4 weeks ago

In Podfile: firebase_auth (from .symlinks/plugins/firebase_auth/ios) was resolved to 4.19.2, which depends on Firebase/Auth (= 10.24.0) was resolved to 10.24.0, which depends on FirebaseAuth (~> 10.24.0) was resolved to 10.24.0, which depends on GTMSessionFetcher/Core (< 4.0, >= 2.1)

google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
  GTMSessionFetcher (>= 3.4.0) was resolved to 3.4.1, which depends on
    GTMSessionFetcher/Full (= 3.4.1) was resolved to 3.4.1, which depends on
      GTMSessionFetcher/Core (= 3.4.1)

google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
  GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
    GTMAppAuth (< 5.0, >= 4.1.1) was resolved to 4.1.1, which depends on
      GTMSessionFetcher/Core (< 4.0, >= 3.3)

google_sign_in_ios (from `.symlinks/plugins/google_sign_in_ios/darwin`) was resolved to 0.0.1, which depends on
  GoogleSignIn (~> 7.1) was resolved to 7.1.0, which depends on
    GTMSessionFetcher/Core (~> 3.3)

mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 3.5.6, which depends on
  GoogleMLKit/BarcodeScanning (~> 4.0.0) was resolved to 4.0.0, which depends on
    MLKitBarcodeScanning (~> 3.0.0) was resolved to 3.0.0, which depends on
      MLKitCommon (~> 9.0) was resolved to 9.0.0, which depends on
        GTMSessionFetcher/Core (< 3.0, >= 1.1)
hls-app commented 4 weeks ago

+1

This is working fine locally but not on Codemagic CI/CD.

Could be related: https://github.com/orgs/codemagic-ci-cd/discussions/2485

datpt11 commented 4 weeks ago

same issue

jakobhec commented 4 weeks ago

for me it doesn't work locally

MagnusJohansson commented 4 weeks ago

PR #1023 takes care of it. I have verified it, compiles fine with that fix.

hls-app commented 4 weeks ago

Thanks @MagnusJohansson.

Can we expect a minor release soon or should use the git branch?

MagnusJohansson commented 4 weeks ago

Thanks @MagnusJohansson.

Can we expect a minor release soon or should use the git branch?

Just to be clear, I can't take credit for the PR, that's the work of JarkkoSaarinen-Vincit .
I simply had the same problem and stumbled upon that PR. Release management is done by the maintainer(s) of this repo.

JarkkoSaarinen-Vincit commented 4 weeks ago

I'll delete my fork of the project as soon as there is an official release with the 6.0.0 GoogleMLKit/BarcodeScanning dependency, so please don't use my fork in your own pubspecs if you aren't ready for failing builds due to a missing git repository. Either wait for a proper release with the PR merged or make your own fork with the same change (its literally a one character change, I'm flattered that MagnusJohansson called it my work).

datpt11 commented 4 weeks ago

i solved it by upgrading mobile_scanner: ^5.0.0-beta.3

navaronbracke commented 3 weeks ago

PR #1023 takes care of it. I have verified it, compiles fine with that fix.

Thanks for the heads-up. I'll bump the deps and release a new version with the fix.

navaronbracke commented 3 weeks ago

@JesusMenaD Version 5.0.0 should help you out :)