Description
What happened?
Failed building for ios when @react-native-firebase/crashlytics is present due to depency resolve. After the firebase updates 21.4.1, most of their libraries updated past GoogleDataTransport 10.0, so the error extends to analitics, auth, in-app-messaging, and probably others.
Since I'm using EAS to build, I can't test changing the GoogleDataTransport (< 10.0, >= 9.4.1) requirement to try fixing that, or changing podfiles, as they are created by eas when building.
EAS error:
[!] CocoaPods could not find compatible versions for pod "FirebaseCoreExtension":
In Podfile:
RNFBAuth (from ../node_modules/@react-native-firebase/auth
) was resolved to 21.6.1, which depends on
Firebase/Auth (= 11.5.0) was resolved to 11.5.0, which depends on
FirebaseAuth (> 11.5.0) was resolved to 11.5.0, which depends on> 11.5.0) was resolved to 11.5.0, which depends on
FirebaseCoreExtension (= 11.5)
RNFBCrashlytics (from ../node_modules/@react-native-firebase/crashlytics
) was resolved to 21.6.1, which depends on
FirebaseCoreExtension
CocoaPods could not find compatible versions for pod "GoogleDataTransport":
In Podfile:
RNFBCrashlytics (from ../node_modules/@react-native-firebase/crashlytics
) was resolved to 21.6.1, which depends on
Firebase/Crashlytics (= 11.5.0) was resolved to 11.5.0, which depends on
FirebaseCrashlytics (
GoogleDataTransport (> 10.0)> 11.0.0) was resolved to 11.0.0, which depends on
RNMLKitTextRecognition (from ../node_modules/@react-native-ml-kit/text-recognition
) was resolved to 1.5.2, which depends on
GoogleMLKit/TextRecognitionDevanagari (= 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 (
GoogleDataTransport (< 10.0, >= 9.4.1)
Version
@react-native-ml-kit/barcode-scanning: version@react-native-ml-kit/face-detection: version@react-native-ml-kit/identify-languages: version@react-native-ml-kit/image-labeling: version@react-native-ml-kit/text-recognition: version@react-native-ml-kit/translate-text: version
Which ML Kit packages do you use?
- @react-native-ml-kit/barcode-scanning
- @react-native-ml-kit/face-detection
- @react-native-ml-kit/identify-languages
- @react-native-ml-kit/image-labeling
- @react-native-ml-kit/text-recognition
- @react-native-ml-kit/translate-text
What platforms are you seeing this issue on?
- Android
- iOS
System Information
ystem:
OS: macOS 14.5
CPU: (8) arm64 Apple M2
Memory: 344.08 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.18.1
path: /usr/local/bin/node
Yarn: Not Found
npm:
version: 10.8.2
path: /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods:
version: 1.16.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java: Not Found
Ruby:
version: 3.3.6
path: /opt/homebrew/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.5
wanted: 0.74.5
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Steps to Reproduce
Install @react-native-firebase/crashlytics, @react-native-ml-kit/text-recognition and build with eas.