Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19266] CLI: Launching a project with --launch-watch-app and no --device-id flag does not launch a valid simulator

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-29T10:54:05.000+0000
Affected Version/sRelease 5.0.0
Fix Version/sRelease 5.0.0
ComponentsiOS, Tooling
Labelsqe-5.0.0
ReporterEwan Harris
AssigneeChris Barber
Created2015-07-28T20:55:36.000+0000
Updated2015-09-01T22:57:41.000+0000

Description

Description

When running a project with appc run -p ios --launch-watch-app the simulator is autoselected. This results in a simulator that does not support watch apps, in my case it launches an iPad 2 simulator. When running with --launch-watch-app and no device id is passed in the simulator launched should always be compatible with apple watch

Steps to reproduce

1. Create a project using appc new 2. cd into the project and create an apple watch project using appc ti create --type fruitwatch 3. Run the project using appc new -p ios --launch-watch-app

Actual result

The simulator launched is not compatible with apple watch

Expected result

The simulator launched should be compatible with apple watch

Comments

  1. Chris Barber 2015-07-29

    This was fixed by TIMOB-19265.
  2. Wilson Luu 2015-09-01

    Closing ticket as fixed. Verified that I was able to launch a watchkit simulator along with the correct iphone simulator. Tested on: Appc CLI NPM: 4.2.0-1 Appc CLI Core: 5.0.0-33 Arrow: 1.2.52 SDK: 5.0.0.v20150901105514 Node: v0.10.38 OS: Yosemite (10.10.5) Xcode: 7 beta 6 Device: iphone simulator 6 (9.0), watchkit simulator (42mm)

JSON Source