simctl launch <device> <app bundle identifier> <argv...>
Launch an application by identifier on a device
Arguments
Name | Description |
---|
device | |
app bundle identifier | |
argv | |
Options
Name | Description |
---|
-w, --wait-for-debugger | |
--console | Block and print the application's stdout and stderr to the current terminal. Signals received by simctl are passed through to the application. (Cannot be combined with --stdout or --stderr) |
--console-pty | Block and print the application's stdout and stderr to the current terminal via a PTY. Signals received by simctl are passed through to the application. (Cannot be combined with --stdout or --stderr) |
--stdout <path> | Redirect the application's standard output to a file |
--stderr <path> | Redirect the application's standard error to a file |
--terminate-running-process | Terminate any running copy of the application. Note: Log output is often directed to stderr, not stdout |