Skip to content

Cannot specify emulator device while debugging #1522

@toddanglin

Description

@toddanglin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions