juliansteenbakker / mobile_scanner

A universal scanner for Flutter based on MLKit. Uses CameraX on Android and AVFoundation on iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

JesusMenaD opened this issue · comments

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)
commented

+1

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

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

same issue

for me it doesn't work locally

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

commented

Thanks @MagnusJohansson.

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

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.

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).

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

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.

@JesusMenaD Version 5.0.0 should help you out :)