You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/run-ios.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,10 @@ position: 11
8
8
Usage | Synopsis
9
9
---|---
10
10
Run on all connected devices | `$ tns run ios [--release] [--justlaunch] [--bundle [<value>] [--env.*]]`
11
-
Run on a selected connected device. Will start simulator with specified `Device Identifier`, if not already running. | `$ tns run ios [--device <Device ID>] [--release] [--justlaunch] [--bundle [<value>] [--env.*]]`
11
+
Run on a selected connected device. Will start simulator with specified `Device Identifier` or `Device Name`, if not already running. | `$ tns run ios [--device <Device ID>] [--release] [--justlaunch] [--bundle [<value>] [--env.*]]`
12
12
Start an emulator and run the app inside it | `$ tns run ios --emulator [--release] [--bundle [<value>] [--env.*]]`
13
+
Start an emulator with specified device name and sdk | `$ tns run ios [--device <Device Name>] [--sdk <sdk>]`
14
+
Start an emulator with specified device identifier and sdk | `$ tns run ios [--device <Device Identifier>] [--sdk <sdk>]`
13
15
14
16
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.
15
17
@@ -20,6 +22,7 @@ Runs your project on a connected iOS device or in the iOS Simulator, if configur
20
22
### Options
21
23
*`--device` - Specifies a connected device/simulator to start and run the app.
22
24
*`--emulator` - If set, runs the app in all available and configured ios simulators. It will start a simulator if none are already running.
25
+
*`--sdk` - Specifies the target simulator's sdk.
23
26
*`--justlaunch` - If set, does not print the application output in the console.
24
27
*`--clean` - If set, forces rebuilding the native application.
25
28
*`--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
30
33
31
34
### Attributes
32
35
*`<Device ID>` is the index or `Device Identifier` of the target device as listed by `$ tns device ios --available-devices`
36
+
*`<Device Name>` is the name of the target simulator as listed by `$ tns device ios --available-devices`
0 commit comments