New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple silicon #12333
Apple silicon #12333
Conversation
Tests:
New dependencies added: node-ios-deviceAuthor: Axway, Inc. Description: Simple library for detecting and installing apps on iOS devices Homepage: https://github.com/appcelerator/node-ios-device
|
ac8cc46
to
2bfdae0
Compare
…e to known issues
f44f67d
to
2eea043
Compare
JIRA: https://jira.appcelerator.org/browse/TIMOB-28281
Description:
ANDROID_SDK
is not set (unrelated to arm64/Apple Silicon)Ti.Platform.model
to append' (Simulator)'
- instead of runtime arch check to do so (checking for i386 or x86_64), we use macros/guards forTARGET_OS_SIMULATOR
(which I've also replaced usage ofTARGET_IPHONE_SIMULATOR
with, as that's deprecated)Android is a bit of a beast to get running. Getting set up is easiest by grabbing Android Studio and letting it install the pieces you need. Trying to grab the emulator component from the
sdkmanager
won't work, it filters it out due to arch. But x86/x86_64 emulators won't launch anyways so that effectively becomes a non-issue.There's a preview ARM64 emulator at https://github.com/google/android-emulator-m1-preview/releases
You need to launch that manually, then run the app as if it's a "device" for our CLI:
ti build -p android -T device
Due to known issues in that emulator, it will hang on the
Ti.Media.AudioPlayer
test suite. I suspect others would do the same:VideoPlayer
,Ti.Ui.WebView
, etc. Haven't had a chance to comment out some suite and see.