Closed ZakarY2HM6f closed 1 month ago
using google_mlkit_commons: ^0.7.1 google_mlkit_text_recognition: ^0.13.0 google_mlkit_translation: ^0.11.0
when reverting to google_mlkit_commons: ^0.6.1 google_mlkit_text_recognition: ^0.11.0 google_mlkit_translation: ^0.9.0
everything works, so probably something wrong with the new version?
Set the following: platform :ios, '12.0'
to: platform :ios, '15.0'
Have you tried this: https://github.com/flutter-ml/google_ml_kit_flutter/blob/develop/packages/example/ios/Podfile#L1
it is in our example app, and also in the READMME
might need to add that OP does say this.
no matter how much i increase the deployment target (tried 17.0), the error doesn't do away.
I use platform :ios, '15.5'
and got the same issue. I'm using Face Detection and got
google_mlkit_face_detection (from .symlinks/plugins/google_mlkit_face_detection/ios) was resolved to 0.11.0 which depend on GoogleMLKit/FaceDetection (-> 6.0.0)
Specs satisfying the `GoogleMLKit/FaceDetection(= 4.0.0, -> 4.0.0), GoogleMLKit/FaceDetection(-> 6.0.0)` dependency were found, but they required a higher minimum deployment target.
Edit : i found the fix. run pod update
will fix the issue.
error from CocaPods when
flutter run
,pod install
orpod update
already tried
flutter clean
,pod cache clean --all
no matter how much i increase the deployment target (tried 17.0), the error doesn't do away.github example builds successfully, but i cannot find the difference between that and my current project. please send help.
my Podfile:
output of
flutter doctor
: