googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.61k stars 2.94k forks source link

[Feature Request] Support for Simulators on M1 Apple Silicon / arm64 architecture #810

Open gustavoabel opened 7 months ago

gustavoabel commented 7 months ago

What's your feature request? Please describe. Please support MLKit on Simulator with M1 Chip

Mobile environment iOS with Xcode

gustavoabel commented 7 months ago

@miworking3 Anything planned for this year?

RogVok commented 7 months ago

Looking at this comment: https://github.com/googlesamples/mlkit/issues/691#issuecomment-1625598912 this won't be addressed soon.

P.S. Since Julie would be in this thread, I'd like to highlight that many of us are still awaiting the ability to include MLKit models directly into the app's bundle, rather than requiring a separate download on each device (Digital Ink). This would greatly enhance user experience and convenience. (and will boost the satisfaction of working with Google MLKit)

evandorn commented 5 months ago

+1 I have to use Google MLKit for a project and I'd really like to compile my app natively for simulator on my ARM Mac.

importRyan commented 4 months ago

+1 When camera and GPU resources are unavailable, as in a Simulator, Apple throws errors or exceptions, but does compile those frameworks. It would be a massive win if MLKit and MLImage adopted the same philosophy as a shortcut to getting this arm64 arch exclusion removed.

For context, this is a blocker for us adopting a few CI vendors' technologies to automate our snapshot testing, so it's not just a save-some-time-compiling situation.

importRyan commented 4 months ago

Any visitors, also see: https://issuetracker.google.com/issues/178965151 and join in several years of commentary. :)

RutgerVleuten commented 2 months ago

+1 also bumping into the same issue.

timmyjose commented 1 month ago

This has made building my app impossible. Any idea when this would be supported?

iwater commented 6 days ago

+1

thanasak-s commented 5 days ago

+1

angarsky commented 5 days ago

+1