Skip to content

tns run fails if user specify both project path and iOS Simulator id. #4284

Closed
@dtopuzov

Description

@dtopuzov

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

Describe the bug
tns run fails if user specify both project path and iOS Simulator id.

To Reproduce

manually boot at least one iOS Simulator
xcrun simctl list devices | grep Boot
-> get id of some booted device
tns create TestApp
tns run ios --path TestApp --device 8EB023D3-BAF1-4E89-A5D6-E93A1203757C

Expected behavior
tns run to work properly.

Sample project
No

Additional context
Issue is caused by #4254
Workarounds:

  • tns run ios --device <ID> inside project (do not specify --path)
  • tns run ios --path TestApp --emulator (do not specify iOS Simulator id).

Metadata

Metadata

Labels

bugno-changelogThe issue is present only in `next` versions and was not included in official version.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions