Closed ferisetyo1 closed 1 month ago
I have also same error
cloud_firestore: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "GoogleDataTransport":
In Podfile:
firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) was resolved to 15.0.0, which depends on
Firebase/Messaging (= 11.0.0) was resolved to 11.0.0, which depends on
FirebaseMessaging (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleDataTransport (~> 10.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleDataTransport (< 10.0, >= 9.4.1)
Same .... GoogleDataTransport must be > 10.0
Temporary solution is to downgrade firebase_core from ^3 to ^2.32.0 and match all other firebase dependencies...
mostly same issue but other tool "GoogleUtilities/UserDefaults (= 8.0.2, ~> 8.0)"
`
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/UserDefaults": In snapshot (Podfile.lock): GoogleUtilities/UserDefaults (= 8.0.2, ~> 8.0)
In Podfile:
firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) was resolved to 15.1.2, which depends on
Firebase/Messaging (= 11.0.0) was resolved to 11.0.0, which depends on
FirebaseMessaging (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleUtilities/UserDefaults (~> 8.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
MLKitBarcodeScanning (~> 5.0.0) was resolved to 5.0.0, which depends on
MLKitCommon (~> 11.0) was resolved to 11.0.0, which depends on
GoogleUtilities/UserDefaults (< 8.0, >= 7.13.0)
`
I have the exact same problem.. is there any solution?
Including mine since it goes one step deeper in the stack:
[!] CocoaPods could not find compatible versions for pod "nanopb":
In Podfile:
firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 11.3.0, which depends on
Firebase/Analytics (= 11.0.0) was resolved to 11.0.0, which depends on
Firebase/Core (= 11.0.0) was resolved to 11.0.0, which depends on
FirebaseAnalytics (~> 11.0.0) was resolved to 11.0.0, which depends on
nanopb (~> 3.30910.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleDataTransport (< 10.0, >= 9.4.1) was resolved to 9.4.1, which depends on
nanopb (< 2.30911.0, >= 2.30908.0)
+1
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/UserDefaults": In Podfile: firebase_app_check (from
.symlinks/plugins/firebase_app_check/ios`) was resolved to 0.3.1-2, which depends on
FirebaseAppCheck (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleUtilities/UserDefaults (~> 8.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleUtilities/UserDefaults (< 8.0, >= 7.13.0)`
+1
any news?
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/Environment": In Podfile: firebase_remote_config (from
.symlinks/plugins/firebase_remote_config/ios`) was resolved to 5.1.2, which depends on
Firebase/RemoteConfig (= 11.0.0) was resolved to 11.0.0, which depends on
FirebaseRemoteConfig (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleUtilities/Environment (~> 8.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleDataTransport (< 10.0, >= 9.4.1) was resolved to 9.4.1, which depends on
GoogleUtilities/Environment (~> 7.7)`
ML Kit must be first updated, issue tracker: https://issuetracker.google.com/issues/362452861
It's just been reassigned internally at google yesterday...
Downgrade firebase_core to 2.32.0 and the rest matching ... this might take a while
+1
@Mortando Thank you for linking the issue, I confirm downgrading works.
The correct Flutter dependency is
firebase_core: 3.3.0
(Note the missing ^
)
Then the usual and I was able to build:
rm podfile.lock
pod install --repo-update
Firebase has problems in Xcode16 iOS18. So we have to upgrade firebase.
This is a duplicate of https://github.com/juliansteenbakker/mobile_scanner/issues/1165
Unfortunately, MLKit also depends on GoogleDataTransport, and there is no new release for MLKit just yet.
Same issue
+1
+1
+1
+1
With MacOs Sequoia 15 I can not downgrade. It won't work for iOS. Google is currently not seeming to update the GoogleMLKit/BarcodeScanning.
Is there any possibility so switch to different scanning library (for iOS)?
@malte1989 See this comment
It is fixed: https://pub.dev/packages/mobile_scanner in version 6.0.0
flutter clean && flutter pub get pod repo update flutter build ipa
Change dependencies to these versions:
firebase_messaging: ^14.9.2 firebase_core: ^2.31.0 mobile_scanner: ^5.2.3
It will work.
pub dev dependecies : firebase_analytics: ^11.2.0 firebase_core: ^3.2.0 firebase_messaging: ^15.0.3 firebase_crashlytics: ^4.0.3 firebase_in_app_messaging: ^0.8.0+3 mobile_scanner: ^5.2.3