Setup
The mobile CLI drives iOS simulators and Android emulators with the same YAML test format used for the web. This page covers the one-time machine setup before you run your first mobile test.
Install the CLI
bash
npm install -g @assrt/mobile-cliiOS prerequisites (macOS only)
- Xcode 15 or later, installed from the Mac App Store.
- Accept the Xcode license:
sudo xcodebuild -license accept. - Install command line tools:
xcode-select --install.
Android prerequisites
- Android Studio or the standalone command-line tools.
ANDROID_HOMEset and$ANDROID_HOME/platform-toolson yourPATH.- At least one Android SDK platform and system image installed.
Verify
bash
assrt-mobile doctorDoctor checks your toolchain, lists available devices, and prints any setup steps still pending.