CLI / oroc install-app

oroc install-app

Install the app to the device or host target.

Usage#

oroc install-app [options] [<project-dir>]
oroc install [options] [<project-dir>]

Options#

Option Description
-D, --debug enable debug output
--device=<identifier> identifier (ecid, ID) of the device to install to Android defaults to ANDROID_SERIAL or the first ready device
--platform=<platform> platform to install application to device (defaults to host):<br>- android<br>- ios
-P, --prod install production application
-V, --verbose enable verbose output
--log-file=<path> mirror logs to a JSON file
-h, --help show help

macOS options#

Option Description
--target=<target> installation target for macOS application (defaults to '/') the application is installed into '$target/Applications'

Notes#

Android installs use the first ready device listed by adb devices when neither --device nor ANDROID_SERIAL is set. Offline and unauthorized devices are skipped.

The android-emulator target selects the first ready emulator.

Common errors#

Android: list devices with adb devices or pass --device. iOS/macOS: list devices with oroc list-devices --platform=ios and pass --device.

Examples#

oroc install-app --platform=android --device emulator-5554

install the current Android build onto a specific emulator

oroc install-app --platform=ios --device <udid>

install the current iOS build onto a specific simulator or device

Source repository · Edit this page · View Markdown

Quick links

Type to search across the site. Use the up and down arrow keys to choose a result, Enter to open it, and Escape to close.