Closed scottmsul closed 4 months ago
Apologies, this looks like google's fault. I'm still pretty new to react native and didn't realize ml kit wasn't supported on apple silicon simulator, and there's been an open issue with google for several years now.
What happened?
I'm attempting to use face detection in my app, however installing this library seems to cause issues. I've gotten it to work on android but ios leads to a compiler error. I've isolated this issue by trying to install it in a fresh new project:
After compiling files for a while it leads to this:
This was with npm 10.2.4, expo 50.0.7, react native 0.73.4, and react-native-ml-kit/face-detection 1.3.1, using xcode 15.2.
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?
What platforms are you seeing this issue on?
System Information
info Fetching system and libraries information... System: OS: macOS 14.3.1 CPU: (8) arm64 Apple M2 Memory: 248.75 MB / 16.00 GB Shell: version: 3.2.57 path: /bin/bash Binaries: Node: version: 20.11.1 path: /usr/local/bin/node Yarn: version: 1.22.21 path: /usr/local/bin/yarn npm: version: 10.2.4 path: /usr/local/bin/npm Watchman: Not Found Managers: CocoaPods: version: 1.15.2 path: /opt/homebrew/bin/pod SDKs: iOS SDK: Platforms:
Steps to Reproduce