Skip to content
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

This depends on mobile_scanner 3.5.6 which is conflicting with other libraries #105

Open
Mujahid689 opened this issue May 10, 2024 · 2 comments

Comments

@Mujahid689
Copy link

Steps to reproduce

Running "pod install" command to install pod in my flutter project.

Expected results

It should install all of pods for iOS build but its giving me library conflict.

Actual results

Analyzing dependencies
cloud_firestore: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
firebase_storage: Using Firebase SDK version '10.25.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "GTMSessionFetcher/Core":
In Podfile:
firebase_storage (from .symlinks/plugins/firebase_storage/ios) was resolved to 11.7.5, which depends on
Firebase/Storage (= 10.25.0) was resolved to 10.25.0, which depends on
FirebaseStorage (~> 10.25.0) was resolved to 10.25.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)

ai_barcode_scanner: ^3.4.1

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.4.1 23E224 darwin-arm64, locale en-PK)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2023.3)
[✓] Connected device (2 available)
[✓] Network resources

! Doctor found issues in 1 category.

@ColtonDevAcc
Copy link

+1

@rvndsngwn
Copy link
Member

Hi @Mujahid689 use the latest version ai_barcode_scanner: ^5.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants