Skip to content

Commit b07fedf

Browse files
Vasil ChimevVasil Chimev
Vasil Chimev
authored and
Vasil Chimev
committed
Merge pull request #758 from NativeScript/vladimirov/livesync-service-help
Fix livesync help
2 parents 7ff9ec3 + 898c744 commit b07fedf

17 files changed

+55
-26
lines changed

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
NativeScript CLI Changelog
22
================
33

4+
1.2.2 (2015, August 7)
5+
==
6+
7+
### New
8+
* [Implemented #470](https://github.com/NativeScript/nativescript-cli/issues/470): Add `--timeout` option to `tns debug`.
9+
* [Implemented #682](https://github.com/NativeScript/nativescript-cli/issues/682): Set `--debug-brk` as the default option of `tns debug`.
10+
* [Implemented #706](https://github.com/NativeScript/nativescript-cli/issues/706): LiveSync to iOS Simulator devices running iOS 8.x.
11+
12+
### Fixed
13+
14+
* [Fixed #470](https://github.com/NativeScript/nativescript-cli/issues/470): Command failed due to space in file path.
15+
* [Fixed #632](https://github.com/NativeScript/nativescript-cli/issues/632): Android debugger does not work on some OS X systems.
16+
* [Fixed #652](https://github.com/NativeScript/nativescript-cli/issues/652): `tns debug ios` does not load inspector from the added iOS runtime.
17+
* [Fixed #663](https://github.com/NativeScript/nativescript-cli/issues/663): Verify that Java is at least 1.7.
18+
* [Fixed #671](https://github.com/NativeScript/nativescript-cli/issues/671): `tns debug ios` doesn't work for projects created with framework versions earlier than 1.2.0.
19+
* [Fixed #679](https://github.com/NativeScript/nativescript-cli/issues/679): `tns library add ios` adds the framework with its full path in the Xcode project.
20+
* [Fixed #695](https://github.com/NativeScript/nativescript-cli/issues/695): Exceptions tracking is not correctly set in the user settings.
21+
* [Fixed #699](https://github.com/NativeScript/nativescript-cli/issues/699): Unable to update Android platform when npm cache is in an inconsistent state.
22+
* [Fixed #722](https://github.com/NativeScript/nativescript-cli/issues/722): `tns debug` builds and installs the app twice.
23+
* [Fixed #742](https://github.com/NativeScript/nativescript-cli/issues/742): `tns livesync android` doesn't work on some Android devices.
24+
* [Fixed #747](https://github.com/NativeScript/nativescript-cli/issues/747): New files are not respected by `tns livesync`.
25+
426
1.2.1 (2015, July 27)
527
==
628

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Command | Description
2929
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
3030
[emulate](emulate.html) | You must run the emulate command with a related command.
3131
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
32-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
32+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3333
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
3434
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3535
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Command | Description
3434
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
3535
[emulate](emulate.html) | You must run the emulate command with a related command.
3636
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
37-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
37+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3838
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
3939
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
4040
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

docs/man_pages/project/testing/build.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Command | Description
3131
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
3232
[emulate](emulate.html) | You must run the emulate command with a related command.
3333
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
34-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
34+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3535
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
3636
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3737
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ debug android
33

44
Usage | Synopsis
55
---|---
6-
Deploy on device, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk [--device <Device ID>] [--debug-port <port>]`
7-
Deploy in the native emulator, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --emulator [<Emulator Options>]`
8-
Deploy in Genymotion, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --geny <Geny Name>`
9-
Attach the debug tools to a running app on device | `$ tns debug android --start [--device <Device ID>] [--debug-port <port>]`
10-
Attach the debug tools to a running app in the native emulator | `$ tns debug android --start --emulator [<Emulator Options>]`
11-
Attach the debug tools to a running app in Genymotion | `$ tns debug android --start --geny <Geny Name> [--print-app-output]`
6+
Deploy on device, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk [--device <Device ID>] [--debug-port <port>] [--timeout <timeout>]`
7+
Deploy in the native emulator, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --emulator [<Emulator Options>] [--timeout <timeout>]`
8+
Deploy in Genymotion, run the app and stop at the first breakpoint | `$ tns debug android --debug-brk --geny <Geny Name> [--timeout <timeout>]`
9+
Attach the debug tools to a running app on device | `$ tns debug android --start [--device <Device ID>] [--debug-port <port>] [--timeout <timeout>]`
10+
Attach the debug tools to a running app in the native emulator | `$ tns debug android --start --emulator [<Emulator Options>] [--timeout <timeout>]`
11+
Attach the debug tools to a running app in Genymotion | `$ tns debug android --start --geny <Geny Name> [--print-app-output] [--timeout <timeout>]`
1212
Retrieve the device port on which you are debugging | `$ tns debug android [--device <Device ID>] --get-port`
1313
Detach the debug tools | `$ tns debug android --stop`
1414

@@ -23,7 +23,7 @@ Debugs your project on a connected device, in a native emulator or in Genymotion
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.
26-
* `--timeout` - Sets the number of seconds that NativeScript CLI will wait for the debugger to boot. If not set, the default timeout is 90 seconds.
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.
2727

2828
### Attributes
2929
* `<Device ID>` is the index or name of the target device as listed by `$ tns device`
@@ -50,7 +50,7 @@ Command | Description
5050
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
5151
[emulate](emulate.html) | You must run the emulate command with a related command.
5252
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
53-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
53+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
5454
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
5555
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
5656
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Command | Description
4949
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
5050
[emulate](emulate.html) | You must run the emulate command with a related command.
5151
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
52-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
52+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
5353
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
5454
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
5555
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

docs/man_pages/project/testing/debug.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Command | Description
3131
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
3232
[emulate](emulate.html) | You must run the emulate command with a related command.
3333
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
34-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
34+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3535
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
3636
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3737
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

docs/man_pages/project/testing/deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Command | Description
4545
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
4646
[emulate](emulate.html) | You must run the emulate command with a related command.
4747
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
48-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
48+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
4949
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
5050
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
5151
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Command | Description
5757
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
5858
[emulate](emulate.html) | You must run the emulate command with a related command.
5959
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
60-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
60+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
6161
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
6262
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
6363
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Command | Description
4242
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
4343
[emulate](emulate.html) | You must run the emulate command with a related command.
4444
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
45-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
45+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
4646
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
4747
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
4848
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

docs/man_pages/project/testing/emulate.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Command | Description
2727
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
2828
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
2929
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
30-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
30+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3131
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
3232
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3333
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Command | Description
3434
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
3535
[emulate](emulate.html) | You must run the emulate command with a related command.
3636
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
37-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
37+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3838
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3939
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
4040
<% } %>

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

+11-4
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,26 @@ livesync ios
33

44
Usage | Synopsis
55
------|-------
6-
General | `$ tns livesync ios [--device <Device ID>] [--watch] [--emulator]`
6+
Synchronize changes to all connected devices | `$ tns livesync ios [--watch]`
7+
Synchronize changes to a selected device | `$ tns livesync ios --device <Device ID> [--watch]`
8+
Synchronize changes to the iOS Simulator | `$ tns livesync ios --emulator [--watch]`
79

8-
Synchronizes the latest changes in your project to iOS devices or iOS simulator.
10+
Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
911

1012
### Options
1113
* `--watch` - If set, when you save changes to the project, changes are automatically synchronized to the connected device.
12-
* `--device` - Specifies the serial number or the index of the connected device to which you want to synchronize changes. To list all connected devices, grouped by platform, run `$ tns device`
13-
* `--emulator` - If set, changes are synchronized to iOS simulator.
14+
* `--device` - Specifies the serial number or the index of the connected device to which you want to synchronize changes. To list all connected devices, grouped by platform, run `$ tns device`. You cannot set `--device` and `--emulator` simultaneously.
15+
* `--emulator` - Synchronizes changes to the iOS Simulator. You cannot set `--device` and `--emulator` simultaneously.
1416

1517
### Attributes
1618
* `<Device ID>` is the device index or identifier as listed by `$ tns device`
1719

1820
<% if(isHtml) { %>
21+
### Command Limitations
22+
23+
* You cannot set `--device` and `--emulator` simultaneously.
24+
* For the iOS Simulator, you can synchronize changes only to iOS 8.x devices.
25+
1926
### Related Commands
2027

2128
Command | Description

docs/man_pages/project/testing/livesync.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Command | Description
3131
[emulate android](emulate-android.html) | Builds the specified project and runs it in a native Android emulator.
3232
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
3333
[emulate](emulate.html) | You must run the emulate command with a related command.
34-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
34+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3535
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
3636
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3737
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Command | Description
5656
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
5757
[emulate](emulate.html) | You must run the emulate command with a related command.
5858
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
59-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
59+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
6060
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
6161
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.
6262
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Command | Description
4848
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
4949
[emulate](emulate.html) | You must run the emulate command with a related command.
5050
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
51-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
51+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
5252
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
5353
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
5454
[run](run.html) | Runs your project on a connected device or in the native emulator for the selected platform.

docs/man_pages/project/testing/run.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Command | Description
3232
[emulate ios](emulate-ios.html) | Builds the specified project and runs it in the native iOS Simulator.
3333
[emulate](emulate.html) | You must run the emulate command with a related command.
3434
[livesync](livesync.html) | Synchronizes the latest changes in your project to devices.
35-
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices.
35+
[livesync ios](livesync-ios.html) | Synchronizes the latest changes in your project to iOS devices or the iOS Simulator.
3636
[livesync android](livesync-android.html) | Synchronizes the latest changes in your project to Android devices.
3737
[run android](run-android.html) | Runs your project on a connected Android device or in a native Android emulator, if configured.
3838
[run ios](run-ios.html) | Runs your project on a connected iOS device or in the iOS Simulator, if configured.

0 commit comments

Comments
 (0)