From 3291e3001ca2c078f51bfdefef4abbdb1bca82bb Mon Sep 17 00:00:00 2001 From: fatme Date: Mon, 30 Apr 2018 00:49:07 +0300 Subject: [PATCH] Add docs for device name and sdk options --- docs/man_pages/project/testing/run-ios.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/man_pages/project/testing/run-ios.md b/docs/man_pages/project/testing/run-ios.md index e4a45ab1e2..edd50004f6 100644 --- a/docs/man_pages/project/testing/run-ios.md +++ b/docs/man_pages/project/testing/run-ios.md @@ -8,8 +8,10 @@ position: 11 Usage | Synopsis ---|--- Run on all connected devices | `$ tns run ios [--release] [--justlaunch] [--bundle [] [--env.*]]` -Run on a selected connected device. Will start simulator with specified `Device Identifier`, if not already running. | `$ tns run ios [--device ] [--release] [--justlaunch] [--bundle [] [--env.*]]` +Run on a selected connected device. Will start simulator with specified `Device Identifier` or `Device Name`, if not already running. | `$ tns run ios [--device ] [--release] [--justlaunch] [--bundle [] [--env.*]]` Start an emulator and run the app inside it | `$ tns run ios --emulator [--release] [--bundle [] [--env.*]]` +Start an emulator with specified device name and sdk | `$ tns run ios [--device ] [--sdk ]` +Start an emulator with specified device identifier and sdk | `$ tns run ios [--device ] [--sdk ]` Runs your project on a connected iOS device or in the iOS Simulator, if configured. This is shorthand for prepare, build and deploy. While your app is running, prints the output from the application in the console and watches for changes in your code. Once a change is detected, it synchronizes the change with all selected devices and restarts/refreshes the application. @@ -20,6 +22,7 @@ Runs your project on a connected iOS device or in the iOS Simulator, if configur ### Options * `--device` - Specifies a connected device/simulator to start and run the app. * `--emulator` - If set, runs the app in all available and configured ios simulators. It will start a simulator if none are already running. +* `--sdk` - Specifies the target simulator's sdk. * `--justlaunch` - If set, does not print the application output in the console. * `--clean` - If set, forces rebuilding the native application. * `--no-watch` - If set, changes in your code will not be reflected during the execution of this command. @@ -30,6 +33,7 @@ Runs your project on a connected iOS device or in the iOS Simulator, if configur ### Attributes * `` is the index or `Device Identifier` of the target device as listed by `$ tns device ios --available-devices` +* `` is the name of the target simulator as listed by `$ tns device ios --available-devices` <% } %> <% if(isHtml) { %> ### Prerequisites