Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23620] ioslib fails to choose a watch simulator under Xcode 8.0 Beta

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-07-28T17:01:46.000+0000
Affected Version/sn/a
Fix Version/sioslib 0.12.0, ioslib 0.13.0, Release 5.5.0
ComponentsiOS, Tooling
Labelsqe-5.5.0, watchOS3
ReporterJan Vennemann
AssigneeJan Vennemann
Created2016-07-11T15:58:02.000+0000
Updated2016-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 simulators

Actual 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

FileDateSize
appc-info.json2016-07-11T15:57:35.000+000083945

Comments

  1. Chris Barber 2016-07-12

    You just need to update the device pair compatibility map: https://github.com/appcelerator/ioslib/blob/master/lib/simulator.js#L82
  2. Jan Vennemann 2016-07-12

    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
  3. Harry Bryant 2016-08-18

    Unable to validate this ticket until TIMOB-23614 is resolved.
  4. Harry Bryant 2016-08-24

    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.*

JSON Source