A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
Apache License 2.0
37
stars
27
forks
source link
This depends on mobile_scanner 3.5.6 which is conflicting with other libraries #105
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
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)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.