{ "id": "161668", "key": "TIMOB-23620", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "18164", "name": "ioslib 0.12.0", "archived": false, "released": true, "releaseDate": "2016-06-23" }, { "id": "18239", "name": "ioslib 0.13.0", "archived": false, "released": true, "releaseDate": "2016-08-04" }, { "id": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-28T17:01:46.000+0000", "created": "2016-07-11T15:58:02.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.5.0", "watchOS3" ], "versions": [], "issuelinks": [ { "id": "52217", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "161570", "key": "TIMOB-23614", "fields": { "summary": "iOS10: Titanium with Swift Watch App fails to build on Xcode 8.0 Beta", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-08-24T16:38:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "Trying to build app and run it on the simulator errors out with watch app on Xcode 8.0 beta\r\n\r\nh4. Steps to reproduce\r\n1. *appc new --classic*\r\n2. Enter project root\r\n3. *appc new -t applewatch*\r\n4. *appc run -p ios -I 10.0 --launch-watch-app -l trace*\r\n\r\nh4. Expected result\r\nApp launches successfully with both iOS and watch simulators\r\n\r\nh4. Actual result\r\nBuild fails with the following error:\r\n\r\n{code}\r\n[INFO] Launching iOS Simulator\r\n[TRACE] [ioslib] Found watchOS 3.0 app: com.appcelerator.timob23614.watchkitapp\r\n[ERROR] Specified Watch Simulator \"B3649832-4484-4A43-8468-BC7D8931F4D0\" is not compatible with iOS Simulator \"AD4CB766-B439-4E20-B441-8EA281CC3658\".\r\n{code}", "attachment": [ { "id": "59757", "filename": "appc-info.json", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-11T15:57:35.000+0000", "size": 83945, "mimeType": "application/json" } ], "flagged": false, "summary": "ioslib fails to choose a watch simulator under Xcode 8.0 Beta", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Xcode 8.0 Beta\r\nLatest Titanium SDK master\r\nappc-cli 5.3.1-9\r\nappc-npm 4.2.7-2", "closedSprints": [ { "id": 681, "state": "closed", "name": "2016 Sprint 15 Tooling", "startDate": "2016-07-16T00:19:13.868Z", "endDate": "2016-07-30T00:19:00.000Z", "completeDate": "2016-08-01T04:41:26.446Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "390405", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "You just need to update the device pair compatibility map: https://github.com/appcelerator/ioslib/blob/master/lib/simulator.js#L82", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-07-12T00:05:00.000+0000", "updated": "2016-07-12T00:05:00.000+0000" }, { "id": "390463", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "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", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-12T08:30:43.000+0000", "updated": "2016-07-12T08:30:43.000+0000" }, { "id": "393557", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Unable to validate this ticket until TIMOB-23614 is resolved.", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-08-18T23:52:39.000+0000", "updated": "2016-08-18T23:52:39.000+0000" }, { "id": "394113", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, I am able to build a titanium project and launch it on iOS phone & watch simulators successfully.\r\n\r\nTested On:\r\niPhone 6S (10.0) Simulator\r\nApple Watch (OS 3.0) Simulator\r\nMac OSX El Capitan 10.11.6\r\nTi SDK: 5.5.0.v20160822000355\r\nAppc Studio: 4.7.1.201608190732\r\nAppc NPM: 4.2.7\t\r\nApp CLI: 5.5.0-5\r\nVersion 8.0 beta 6 (8S201h)\r\nNode v4.4.7\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-08-24T16:37:41.000+0000", "updated": "2016-08-24T16:37:41.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }