-
- Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
π Bug Report
pod install fails in the ios directory due to incompatible versions of GoogleMLKit/MLKitCore.
β Error Output
β οΈ Something went wrong running `pod install` in the `ios` directory. Command `pod install` failed. ββ Cause: CocoaPods could not find compatible versions for pod "GoogleMLKit/MLKitCore": In snapshot (Podfile.lock): GoogleMLKit/MLKitCore (= 3.2.0) In Podfile: react-native-mlkit-ocr (from `../node_modules/react-native-mlkit-ocr`) was resolved to 0.3.0, which depends on GoogleMLKit/TextRecognition (= 2.6.0) was resolved to 2.6.0, which depends on GoogleMLKit/MLKitCore (= 2.6.0) You have either: * changed the constraints of dependency `GoogleMLKit/MLKitCore` inside your development pod `react-native-mlkit-ocr`. You should run `pod update GoogleMLKit/MLKitCore` to apply changes you've made. pod install --repo-update --ansi exited with non-zero code: 1 π¦ Environment
- Library version:
react-native-mlkit-ocr@0.3.0 - iOS environment with CocoaPods
- Podfile.lock references:
GoogleMLKit/MLKitCore (= 3.2.0)
π§ Steps to Reproduce
- Install the package via npm/yarn.
- Navigate to the
iosfolder. - Run
pod install.
π§© Possible Fix
Looks like the version of GoogleMLKit/MLKitCore required by GoogleMLKit/TextRecognition (2.6.0) is incompatible with what's in the lockfile (3.2.0).
A resolution might involve:
- Updating
react-native-mlkit-ocrto support the latestGoogleMLKitversions. - Or guidance on how to downgrade
MLKitCorecleanly.
BrunoVillanova
Metadata
Metadata
Assignees
Labels
No labels