[TIMOB-19266] CLI: Launching a project with --launch-watch-app and no --device-id flag does not launch a valid simulator
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-07-29T10:54:05.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | iOS, Tooling |
Labels | qe-5.0.0 |
Reporter | Ewan Harris |
Assignee | Chris Barber |
Created | 2015-07-28T20:55:36.000+0000 |
Updated | 2015-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
JSON Source
This was fixed by TIMOB-19265.
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)