Description
I am trying to run LiveSync on my app with specific --device and --sdk flags. But they do not seem to work out of the box.
When I try to run:
tns livesync ios --emulator --device 'iPhone 6' --sdk 9.2 --watch
I get the following error:
Cannot resolve the specified connected device by the provided index or identifier. To list currently connected devices and verify that the specified index or identifier exists, run 'tns device'.
LiveSync should start the emulator if it is not running, with all the flags applied?
If I run this:
tns livesync ios --emulator --sdk 9.2 --watch
It starts the emulator with iPhone6 and with iOS 8.4, not 9.2 as I specefied.
In order to get my livesync running with iPhone 6 and iOS 9.2 I had to do the following:
tns emulate ios --device 'iPhone 6' --sdk 9.2 --justlaunch
tns livesync ios --device 1 --sdk 9.2 --watch
So two command lines, plus I had to use --device [index] as it didn't find the device by name...
EDIT: The first command used to work fine on 1.5.2, except the --sdk flag. So now in 1.6.2 also the --device flag seems to be "broken".