[TIMOB-23620] ioslib fails to choose a watch simulator under Xcode 8.0 Beta
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-07-28T17:01:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | ioslib 0.12.0, ioslib 0.13.0, Release 5.5.0 |
Components | iOS, Tooling |
Labels | qe-5.5.0, watchOS3 |
Reporter | Jan Vennemann |
Assignee | Jan Vennemann |
Created | 2016-07-11T15:58:02.000+0000 |
Updated | 2016-08-24T16:38:07.000+0000 |
Description
Trying to build app and run it on the simulator errors out with watch app on Xcode 8.0 beta
Steps to reproduce
1. *appc new --classic* 2. Enter project root 3. *appc new -t applewatch* 4. *appc run -p ios -I 10.0 --launch-watch-app -l trace*Expected result
App launches successfully with both iOS and watch simulatorsActual result
Build fails with the following error:
[INFO] Launching iOS Simulator
[TRACE] [ioslib] Found watchOS 3.0 app: com.appcelerator.timob23614.watchkitapp
[ERROR] Specified Watch Simulator "B3649832-4484-4A43-8468-BC7D8931F4D0" is not compatible with iOS Simulator "AD4CB766-B439-4E20-B441-8EA281CC3658".
Attachments
File | Date | Size |
---|---|---|
appc-info.json | 2016-07-11T15:57:35.000+0000 | 83945 |
You just need to update the device pair compatibility map: https://github.com/appcelerator/ioslib/blob/master/lib/simulator.js#L82
Hehe, thanks for the hint Chris! I also found these line shortly after creating this issue :) Here's the PR: https://github.com/appcelerator/ioslib/pull/37
Unable to validate this ticket until TIMOB-23614 is resolved.
Verified as fixed, I am able to build a titanium project and launch it on iOS phone & watch simulators successfully. Tested On: iPhone 6S (10.0) Simulator Apple Watch (OS 3.0) Simulator Mac OSX El Capitan 10.11.6 Ti SDK: 5.5.0.v20160822000355 Appc Studio: 4.7.1.201608190732 Appc NPM: 4.2.7 App CLI: 5.5.0-5 Version 8.0 beta 6 (8S201h) Node v4.4.7 *Closing ticket.*