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/build-ios.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ Builds the project for iOS and produces an `APP` or `IPA` that you can manually
25
25
26
26
Command | Description
27
27
----------|----------
28
+
[appstore](../../publishing/appstore.html) | Lists applications registered in iTunes Connect.
29
+
[appstore upload](../../publishing/appstore-upload.html) | Uploads project to iTunes Connect.
28
30
[build android](build-android.html) | Builds the project for Android and produces an APK that you can manually deploy on device or in the native emulator.
29
31
[build](build.html) | Builds the project for the selected target platform and produces an application package that you can manually deploy on device or in the native emulator.
30
32
[debug android](debug-android.html) | Debugs your project on a connected Android device or in a native emulator.
@@ -41,6 +43,6 @@ Command | Description
41
43
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
42
44
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
43
45
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
44
-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
46
+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
45
47
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
`<Platform>` is the target mobile platform for which you want to build your project. You can set the following target platforms.
12
12
*`android` - Builds the project for Android and produces an `APK` that you can manually deploy on device or in the native emulator.
13
-
*`ios` - Builds the project for iOS and produces an `APP` or `IPA` that you can manually deploy in the iOS Simulator or on device, respectively.<% } %>
13
+
*`ios` - Builds the project for iOS and produces an `APP` or `IPA` that you can manually deploy in the iOS Simulator or on device, respectively.<% } %>
14
14
15
-
<% if(isHtml) { %>
15
+
<% if(isHtml) { %>
16
16
### Command Limitations
17
17
18
18
* You can run `$ tns build ios` only on OS X systems.
@@ -21,6 +21,8 @@ Builds the project for Android <% if(isMacOS) { %>or iOS <% } %>and produces an
21
21
22
22
Command | Description
23
23
----------|----------
24
+
[appstore](../../publishing/appstore.html) | Lists applications registered in iTunes Connect.
25
+
[appstore upload](../../publishing/appstore-upload.html) | Uploads project to iTunes Connect.
24
26
[build android](build-android.html) | Builds the project for Android and produces an APK that you can manually deploy on device or in the native emulator.
25
27
[build ios](build-ios.html) | Builds the project for iOS and produces an APP or IPA that you can manually deploy in the iOS Simulator or on device, respectively.
26
28
[debug android](debug-android.html) | Debugs your project on a connected Android device or in a native emulator.
@@ -37,6 +39,6 @@ Command | Description
37
39
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
38
40
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
39
41
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
40
-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
42
+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
41
43
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/debug-android.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -18,19 +18,19 @@ Debugs your project on a connected device, in a native emulator or in Genymotion
18
18
*`--device` - Specifies a connected device on which to debug the app.
19
19
*`--emulator` - Specifies that you want to debug the app in the native Android emulator from the Android SDK.
20
20
*`--geny` - Specifies a Genymotion emulator on which you want to debug your app.
21
-
*`--debug-brk` - Prepares, builds and deploys the application package on a device or in an emulator, launches the Chrome DevTools of your Chrome browser.
21
+
*`--debug-brk` - Prepares, builds and deploys the application package on a device or in an emulator, launches the Chrome DevTools of your Chrome browser.
22
22
*`--start` - Attaches the debug tools to a deployed and running app.
23
23
*`--stop` - Detaches the debug tools.
24
24
*`--get-port` - Retrieves the port on which you are debugging your application.
25
25
*`--debug-port` - Sets a new port on which to attach the debug tools.
26
26
*`--timeout` - Sets the number of seconds that the NativeScript CLI will wait for the debugger to boot. If not set, the default timeout is 90 seconds.
27
27
28
28
### Attributes
29
-
*`<Device ID>` is the index or name of the target device as listed by `$ tns device`
29
+
*`<Device ID>` is the index or name of the target device as listed by `$ tns device`
30
30
*`<Port>` is an accessible port on the device to which you want to attach the debugging tools.
31
31
*`<Emulator Options>` is any valid combination of options as listed by `$ tns help emulate android`
32
32
*`<GenyName>` is the name of the Genymotion virtual device that you want to use as listed by `$ genyshell -c "devices list"`
33
-
33
+
34
34
<% if(isHtml) { %>
35
35
###Prerequisites
36
36
@@ -56,6 +56,6 @@ Command | Description
56
56
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
57
57
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
58
58
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
59
-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
59
+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
60
60
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
Copy file name to clipboardExpand all lines: docs/man_pages/project/testing/debug-ios.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ Deploy in the iOS Simulator, run the app and stop at the first breakpoint | `$ t
8
8
Attach the debug tools to a running app on device | `$ tns debug ios --start [--device <Device ID>] [--no-client]`
9
9
Attach the debug tools to a running app in the iOS Simulator | `$ tns debug ios --start --emulator [<Emulator Options>] [--no-client]`
10
10
11
-
Debugs your project on a connected device or in the iOS Simulator. <% if(isHtml) { %>Any debugging traffic is forwarded on port 8080 from the device to the local machine.<% } %>
11
+
Debugs your project on a connected device or in the iOS Simulator. <% if(isHtml) { %>Any debugging traffic is forwarded on port 8080 from the device to the local machine.<% } %>
12
12
13
-
<% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on OS X systems. To view the complete help for this command, run `$ tns help debug ios`<% } %>
13
+
<% if(isConsole && (isWindows || isLinux)) { %>WARNING: You can run this command only on OS X systems. To view the complete help for this command, run `$ tns help debug ios`<% } %>
14
14
15
15
<% if((isConsole && isMacOS) || isHtml) { %>
16
16
<% if(isHtml) { %>> <% } %>IMPORTANT: Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your OS X system. <% if(isHtml) { %>For more information, see [Obtaining Signing Identities and Downloading Provisioning Profiles](https://developer.apple.com/library/mac/recipes/xcode_help-accounts_preferences/articles/obtain_certificates_and_provisioning_profiles.html).<% } %>
@@ -25,8 +25,8 @@ Debugs your project on a connected device or in the iOS Simulator. <% if(isHtml)
25
25
### Attributes
26
26
*`<Device ID>` is the index or name of the target device as listed by `$ tns device`
27
27
*`<Emulator Options>` is any valid combination of options as listed by `$ tns help emulate ios`
28
-
<% } %>
29
-
<% if(isHtml) { %>
28
+
<% } %>
29
+
<% if(isHtml) { %>
30
30
### Prerequisite
31
31
32
32
* If you want to debug in the iOS Simulator, you must have Xcode 6 or later installed on your system.
@@ -55,6 +55,6 @@ Command | Description
55
55
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
56
56
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
57
57
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
58
-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
58
+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
59
59
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
Debugs your project on a connected device or in a native emulator. <% if(isMacOS) { %>You must specify the target platform on which you want to debug.<% } %>
9
9
@@ -37,6 +37,6 @@ Command | Description
37
37
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
38
38
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
39
39
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
40
-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
40
+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
41
41
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
Builds and deploys the project to a connected physical or virtual device. <% if(isMacOS) { %>You must specify the target platform on which you want to deploy.<% } %>
10
10
@@ -13,7 +13,7 @@ Builds and deploys the project to a connected physical or virtual device. <% if(
13
13
14
14
### Options for iOS
15
15
*`--device` - Deploys the project on the specified connected physical or virtual device.
16
-
*`--release` - If set, produces a release build. Otherwise, produces a debug build.<% } %>
16
+
*`--release` - If set, produces a release build. Otherwise, produces a debug build.<% } %>
17
17
18
18
### Options<% if(isMacOS) { %> for Android<% } %>
19
19
*`--device` - Deploys the project on the specified connected physical or virtual device.
@@ -26,7 +26,7 @@ Builds and deploys the project to a connected physical or virtual device. <% if(
26
26
### Attributes
27
27
*`<Device ID>` is the index or name of the target device as listed by `$ tns device`
28
28
29
-
<% if(isHtml) { %>
29
+
<% if(isHtml) { %>
30
30
### Command Limitations
31
31
32
32
* You can run `$ tns deploy ios` only on OS X systems.
@@ -36,6 +36,8 @@ Builds and deploys the project to a connected physical or virtual device. <% if(
36
36
37
37
Command | Description
38
38
----------|----------
39
+
[appstore](../../publishing/appstore.html) | Lists applications registered in iTunes Connect.
40
+
[appstore upload](../../publishing/appstore-upload.html) | Uploads project to iTunes Connect.
39
41
[build android](build-android.html) | Builds the project for Android and produces an APK that you can manually deploy on device or in the native emulator.
40
42
[build ios](build-ios.html) | Builds the project for iOS and produces an APP or IPA that you can manually deploy in the iOS Simulator or on device, respectively.
41
43
[build](build.html) | Builds the project for the selected target platform and produces an application package that you can manually deploy on device or in the native emulator.
@@ -52,6 +54,6 @@ Command | Description
52
54
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
53
55
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
54
56
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
55
-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
57
+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
56
58
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
Run in the default Android virtual device or in a currently running emulator | `$ tns emulate android [--path <Directory>] [--timeout <Seconds>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch]`
9
9
10
-
Builds the specified project and runs it in the native emulator from the Android SDK or Genymotion. While your app is running, prints the output from the application in the console.<% if(isHtml) { %>If you do not select an Android virtual device (AVD) with the `--avd` option or a Genymotion virtual device with the `--geny` option, your app runs in the default AVD or a currently running emulator, if any. <% } %>
10
+
Builds the specified project and runs it in the native emulator from the Android SDK or Genymotion. While your app is running, prints the output from the application in the console.<% if(isHtml) { %>If you do not select an Android virtual device (AVD) with the `--avd` option or a Genymotion virtual device with the `--geny` option, your app runs in the default AVD or a currently running emulator, if any. <% } %>
11
11
12
12
### Options
13
13
*`--path` - Specifies the directory that contains the project. If not specified, the project is searched for in the current directory and all directories above it.
14
14
*`--avd` - Sets the Android virtual device on which you want to run your app. You can set only one device at a time. You cannot use `--avd` and `--geny` simultaneously.
15
-
*`--geny` - Sets the Genymotion virtual device on which you want to run your app. You can set only one device at a time. You cannot use `--avd` and `--geny` simultaneously.
15
+
*`--geny` - Sets the Genymotion virtual device on which you want to run your app. You can set only one device at a time. You cannot use `--avd` and `--geny` simultaneously.
16
16
*`--timeout` - Sets the number of seconds that the NativeScript CLI will wait for the virtual device to boot before quitting the operation and releasing the console. If not set, the default timeout is 120 seconds. To wait indefinitely, set 0.
17
17
*`--release` - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the `--key-store-*` options.
18
18
*`--key-store-path` - Specifies the file path to the keystore file (P12) which you want to use to code sign your APK. You can use the `--key-store-*` options along with `--release` to produce a signed release build. You need to specify all `--key-store-*` options.
@@ -22,10 +22,10 @@ Builds the specified project and runs it in the native emulator from the Android
22
22
*`--justlaunch` - If set, does not print the application output in the console.
23
23
24
24
### Attributes
25
-
*`<Name>` is the name of the Android virtual device that you want to use as listed by `$ android list avd`
26
-
*`<GenyName>` is the name of the Genymotion virtual device that you want to use as listed by `$ genyshell -c "devices list"`
25
+
*`<Name>` is the name of the Android virtual device that you want to use as listed by `$ android list avd`
26
+
*`<GenyName>` is the name of the Genymotion virtual device that you want to use as listed by `$ genyshell -c "devices list"`
27
27
28
-
<% if(isHtml) { %>
28
+
<% if(isHtml) { %>
29
29
### Prerequisites
30
30
Before running your app in the Android emulator from the Android SDK, verify that your system meets the following requirements.
31
31
* Verify that you have installed the Android SDK.
@@ -45,7 +45,7 @@ Before running your app in the Android emulator from the Android SDK, verify tha
45
45
46
46
### Command Limitations
47
47
48
-
* You can run this command for one virtual device at a time. To test your app on multiple Android virtual devices, run `$ tns emulate android --avd <Name>` or `$ tns emulate android --geny <GenyName>` for each virtual device.
48
+
* You can run this command for one virtual device at a time. To test your app on multiple Android virtual devices, run `$ tns emulate android --avd <Name>` or `$ tns emulate android --geny <GenyName>` for each virtual device.
49
49
* When the `--release` flag is set, you must also specify all `--key-store-*` options.
50
50
51
51
### Related Commands
@@ -68,6 +68,6 @@ Command | Description
68
68
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
69
69
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
70
70
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
71
-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
71
+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
72
72
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
0 commit comments