-
-
Notifications
You must be signed in to change notification settings - Fork 197
Cannot specify emulator device while debugging #1522
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
Comments
+1 |
Thanks for reporting this. As a workaround you can use:
|
I am also have the same issue on 1.6.2. I tried doing the workaround, but had no luck. tns emulate ios --device "iPhone 6" --justlaunch The simulator opens after the first command, but the second command doesn't launch the debugger window. |
Still valid in {N} 2.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As of 1.6.1, it appears there is a CLI bug that causes problems if you try to specific a device while debugging on an emulator.
Command:
$ tns debug ios --emulator --device "iPad Air 2"
Result:
Error Message in CLI:
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'.
Expected:
App to load in iOS Simulator running as iPad Air 2 with debugger attached
This is a CLI command that worked as expected before 1.6.
The text was updated successfully, but these errors were encountered: