flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
907 stars 709 forks source link

Cant build an app on iOS simulator #636

Closed vdnchnk closed 1 month ago

vdnchnk commented 1 month ago

Cant build an app on iOS simulator

After installing a plugin by guide faced with a problem, that app doesn't run on iOS simulator The main error looks like this Building for 'iOS-simulator', but linking in object file (/Users/.../ios/Pods/MLImage/Frameworks/MLImage.framework/MLImage[arm64][2](GMLImage.o)) built for 'iOS'

Platform:

fbernaly commented 1 month ago

These are the prerequisites for running on iOS

https://developers.google.com/ml-kit/migration/ios#prerequisites

I found this for running Google ML Kit on a simulator.

https://stackoverflow.com/questions/71656008/when-will-googlemlkit-support-arm64-simulator

For instance, if you want to test face detection with a camera, the simulator is not the answer, try testing on a real device.