

Privacy Grant, revoke, or reset privacy and permissions

Status_bar Set or clear status bar overrides Logverbose enable or disable verbose logging for a device Help Prints the usage for a given subcommand.ĭiagnose Collect diagnostic information and logs. Pbpaste Print the contents of the device's pasteboard to standard output. Pbcopy Copy standard input onto the device pasteboard. Pbsync Sync the pasteboard content from one pasteboard to another. Icloud_sync Trigger iCloud sync on a device. List List available devices, device types, runtimes, or device pairs. Spawn Spawn a process by executing a given executable on a device. Terminate Terminate an application by identifier on a device. Launch Launch an application by identifier on a device. Get_app_container Print the path of the installed app's container Uninstall Uninstall an app from a device. Getenv Print an environment variable from a running device.Īddmedia Add photos, live photos, videos, or contacts to the library of a device.

Pair_activate Set a given pair as active.Įrase Erase a device's contents and settings. Upgrade Upgrade a device to a newer runtime.ĭelete Delete spcified devices, unavailable devices, or all devices. When successful, most of these commands exit with 0 when failed, most exit with a non-zero number. If we run xcrun simctl help, here are some subcommands. Sometimes, in CI server script, We need these simulator-integration command to interact with simulators and run test cases. Xcrun simctl is command utils to control iOS simulator, just like adb for Android.
