-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--sdk flag not working properly when starting emulators in iOS #1548
Comments
@manijak , Thanks for reporting this. I can confirm the behavior is incorrect and we'll fix it in one of our next releases (of course you are more than welcome to submit a PR with the fix).
The second command will work with the iOS Simulator directly, so there's no need to specify device and |
Hey @manijak ,
|
Hmmm... This is an old issue. I am currently using the |
Hey @manijak, You are right, my mistake. It seems however that we have regression with our current master branch for I'm closing the issue, we will handle this internally. |
Fails again (even with {N} 2.1.0 official release): tns livesync ios --emulator --device 'iPhone 6s' --sdk 9.2 --watch --path TestApp instruments -s | grep 'iPhone 6s' |
With 4.0.1 RC now you can do things like this:
To find out availalbe devices and sdks you can run:
|
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".
The text was updated successfully, but these errors were encountered: