[TIMOB-19272] iOS build selects invalid simulator when building with watch app
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-08-03T17:23:18.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | Release 5.0.0 |
Components | iOS, Tooling |
Labels | qe-5.0.0, watchkit |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2015-07-28T22:11:10.000+0000 |
Updated | 2015-09-03T23:32:18.000+0000 |
Description
When building an app with a WatchKit 1 app (and probably WatchKit 2) with iOS 8.4 or 9.0 and ios.autoSelectDevice=true, it picks a simulator that doesn't support watch apps.
ti build -p ios -I 8.4 --launch-watch-app --force
[INFO] Launching iOS Simulator
[TRACE] [ioslib] Found watchOS 1.0 app: com.appcelerator.testapp3.watchkitapp
[TRACE] [ioslib] Validating iOS Simulator UDID 222FCF0F-210B-4532-BA9A-6A2A2CE6CDD7
[TRACE] [ioslib] Found iOS Simulator UDID 222FCF0F-210B-4532-BA9A-6A2A2CE6CDD7
[ERROR] Error: Selected iOS Simulator with the UDID "222FCF0F-210B-4532-BA9A-6A2A2CE6CDD7" does not support watch apps.
This logic is performed in the iOS build.
PR: https://github.com/appcelerator/titanium_mobile/pull/7003
Closing ticket as fixed. Verified that I launch a watch app, a valid iphone simulator will be launched as well. Tested on: Appc CLI NPM: 4.2.0-1 Appc CLI Core: 5.0.0-33 Arrow: 1.2.52 SDK: 5.0.0.v20150903152310 Node: v0.10.38 OS: Yosemite (10.10.5) Xcode: 7 beta 6 Devices: iphone simulator 6 (9.0), 42 mm watch simulator