Skip to content

Commit 1a0709c

Browse files
author
Mitko-Kerezov
committed
Add help for publish ios command
1 parent 2a88e33 commit 1a0709c

21 files changed

+218
-56
lines changed

docs/man_pages/index.md

+6
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ Command | Description
3636
[plugin](lib-management/plugin.html) | Lets you manage the plugins for your project.
3737
[livesync](project/testing/livesync.html) | Synchronizes the latest changes in your project to devices.
3838

39+
## Publishing Commands
40+
Command | Description
41+
---|---
42+
[appstore](project/publishing/appstore.html) | Lists applications registered in iTunes Connect.
43+
[appstore upload](project/publishing/appstore-upload.html) | Uploads project to iTunes Connect.
44+
3945
## Device Commands
4046
Command | Description
4147
---|---

docs/man_pages/project/testing/build-android.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ Command | Description
4848
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
4949
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
5050
[test init](test-init.html) | Configures your project for unit testing with a selected framework.
51-
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
51+
[test android](test-android.html) | Runs the tests in your project on Android devices or native emulators.
5252
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
5353
<% } %>

docs/man_pages/project/testing/build-ios.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Builds the project for iOS and produces an `APP` or `IPA` that you can manually
2525

2626
Command | Description
2727
----------|----------
28+
[appstore](../../publishing/appstore.html) | Lists applications registered in iTunes Connect.
29+
[appstore upload](../../publishing/appstore-upload.html) | Uploads project to iTunes Connect.
2830
[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.
2931
[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.
3032
[debug android](debug-android.html) | Debugs your project on a connected Android device or in a native emulator.
@@ -41,6 +43,6 @@ Command | Description
4143
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
4244
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
4345
[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.
4547
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
4648
<% } %>

docs/man_pages/project/testing/build.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ Builds the project for Android <% if(isMacOS) { %>or iOS <% } %>and produces an
1010
<% if((isConsole && isMacOS) || isHtml) { %>### Attributes
1111
`<Platform>` is the target mobile platform for which you want to build your project. You can set the following target platforms.
1212
* `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.<% } %>
1414

15-
<% if(isHtml) { %>
15+
<% if(isHtml) { %>
1616
### Command Limitations
1717

1818
* 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
2121

2222
Command | Description
2323
----------|----------
24+
[appstore](../../publishing/appstore.html) | Lists applications registered in iTunes Connect.
25+
[appstore upload](../../publishing/appstore-upload.html) | Uploads project to iTunes Connect.
2426
[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.
2527
[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.
2628
[debug android](debug-android.html) | Debugs your project on a connected Android device or in a native emulator.
@@ -37,6 +39,6 @@ Command | Description
3739
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
3840
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
3941
[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.
4143
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
4244
<% } %>

docs/man_pages/project/testing/debug-android.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@ Debugs your project on a connected device, in a native emulator or in Genymotion
1818
* `--device` - Specifies a connected device on which to debug the app.
1919
* `--emulator` - Specifies that you want to debug the app in the native Android emulator from the Android SDK.
2020
* `--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.
2222
* `--start` - Attaches the debug tools to a deployed and running app.
2323
* `--stop` - Detaches the debug tools.
2424
* `--get-port` - Retrieves the port on which you are debugging your application.
2525
* `--debug-port` - Sets a new port on which to attach the debug tools.
2626
* `--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.
2727

2828
### 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`
3030
* `<Port>` is an accessible port on the device to which you want to attach the debugging tools.
3131
* `<Emulator Options>` is any valid combination of options as listed by `$ tns help emulate android`
3232
* `<GenyName>` is the name of the Genymotion virtual device that you want to use as listed by `$ genyshell -c "devices list"`
33-
33+
3434
<% if(isHtml) { %>
3535
###Prerequisites
3636

@@ -56,6 +56,6 @@ Command | Description
5656
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
5757
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
5858
[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.
6060
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
6161
<% } %>

docs/man_pages/project/testing/debug-ios.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Deploy in the iOS Simulator, run the app and stop at the first breakpoint | `$ t
88
Attach the debug tools to a running app on device | `$ tns debug ios --start [--device <Device ID>] [--no-client]`
99
Attach the debug tools to a running app in the iOS Simulator | `$ tns debug ios --start --emulator [<Emulator Options>] [--no-client]`
1010

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.<% } %>
1212

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`<% } %>
1414

1515
<% if((isConsole && isMacOS) || isHtml) { %>
1616
<% 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)
2525
### Attributes
2626
* `<Device ID>` is the index or name of the target device as listed by `$ tns device`
2727
* `<Emulator Options>` is any valid combination of options as listed by `$ tns help emulate ios`
28-
<% } %>
29-
<% if(isHtml) { %>
28+
<% } %>
29+
<% if(isHtml) { %>
3030
### Prerequisite
3131

3232
* 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
5555
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
5656
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
5757
[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.
5959
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
6060
<% } %>

docs/man_pages/project/testing/debug.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ debug
33

44
Usage | Synopsis
55
---|---
6-
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns debug <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns debug android`<% } %>
6+
<% if((isConsole && isMacOS) || isHtml) { %>General | `$ tns debug <Platform>`<% } %><% if(isConsole && (isLinux || isWindows)) { %>General | `$ tns debug android`<% } %>
77

88
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.<% } %>
99

@@ -37,6 +37,6 @@ Command | Description
3737
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
3838
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
3939
[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.
4141
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
4242
<% } %>

docs/man_pages/project/testing/deploy.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ deploy
44
Usage | Synopsis
55
---|---
66
Deploy on Android | `$ tns deploy android [--device <Device ID>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release]`
7-
<% if(isMacOS) { %>Deploy on iOS | `$ tns deploy ios [--device <Device ID>] [--release]`<% } %>
7+
<% if(isMacOS) { %>Deploy on iOS | `$ tns deploy ios [--device <Device ID>] [--release]`<% } %>
88

99
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.<% } %>
1010

@@ -13,7 +13,7 @@ Builds and deploys the project to a connected physical or virtual device. <% if(
1313

1414
### Options for iOS
1515
* `--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.<% } %>
1717

1818
### Options<% if(isMacOS) { %> for Android<% } %>
1919
* `--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(
2626
### Attributes
2727
* `<Device ID>` is the index or name of the target device as listed by `$ tns device`
2828

29-
<% if(isHtml) { %>
29+
<% if(isHtml) { %>
3030
### Command Limitations
3131

3232
* 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(
3636

3737
Command | Description
3838
----------|----------
39+
[appstore](../../publishing/appstore.html) | Lists applications registered in iTunes Connect.
40+
[appstore upload](../../publishing/appstore-upload.html) | Uploads project to iTunes Connect.
3941
[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.
4042
[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.
4143
[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
5254
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
5355
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
5456
[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.
5658
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
5759
<% } %>

docs/man_pages/project/testing/emulate-android.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ Run in the native emulator | `$ tns emulate android [--avd <Name>] [--path <Dire
77
Run in Genymotion | `$ tns emulate android --geny <GenyName> [--path <Directory>] [--timeout <Seconds>] [--key-store-path <File Path> --key-store-password <Password> --key-store-alias <Name> --key-store-alias-password <Password>] [--release] [--justlaunch]`
88
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]`
99

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. <% } %>
1111

1212
### Options
1313
* `--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.
1414
* `--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.
1616
* `--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.
1717
* `--release` - If set, produces a release build. Otherwise, produces a debug build. When set, you must also specify the `--key-store-*` options.
1818
* `--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
2222
* `--justlaunch` - If set, does not print the application output in the console.
2323

2424
### 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"`
2727

28-
<% if(isHtml) { %>
28+
<% if(isHtml) { %>
2929
### Prerequisites
3030
Before running your app in the Android emulator from the Android SDK, verify that your system meets the following requirements.
3131
* 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
4545

4646
### Command Limitations
4747

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.
4949
* When the `--release` flag is set, you must also specify all `--key-store-*` options.
5050

5151
### Related Commands
@@ -68,6 +68,6 @@ Command | Description
6868
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
6969
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.
7070
[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.
7272
[test ios](test-ios.html) | Runs the tests in your project on iOS devices or the iOS Simulator.
7373
<% } %>

0 commit comments

Comments
 (0)