{ "id": "171008", "key": "TIMOB-25738", "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": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-02-05T13:07:23.000+0000", "created": "2018-01-31T21:25:33.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "20060", "description": "", "name": "Release 7.0.2", "archived": false, "released": true, "releaseDate": "2018-02-09" } ], "issuelinks": [ { "id": "56287", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "170747", "key": "TIMOB-25652", "fields": { "summary": "iOS: Ad-hoc build fails when packaging with WatchApp", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-02-07T16:34:25.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" } ], "description": "Running watch apps in the simulator doesn't work in Titanium 7.0.2 RC. Adding the `--launch-watch-app` option to an `appc run` command is supposed to launch a watch simulator with the watch app, but the watch simulator never launches. Below is the output; you can see the watch simulator is named null. \r\n\r\nThis is increasingly urgent for us; we have been waiting for 7.0.2 to even be able to package the watch app. We haven't been able to ship an update to our app for many weeks now. We can't afford to have this drag out, so any workaround would be appreciated. \r\n\r\n{code}\r\n[INFO] Launching iOS Simulator \r\n[TRACE] [ioslib] Found watchOS 4.2 app: com.stinkbot.iphone.newsoverwireless.wral.watchapp \r\n[TRACE] [ioslib] Selected iOS Simulator: iPhone X \r\n[TRACE] [ioslib] UDID = 20EA5051-FC74-4466-988A-935CBE842658 \r\n[TRACE] [ioslib] iOS = 11.2 \r\n[TRACE] [ioslib] Selected watchOS Simulator: Apple Watch Series 2 - 38mm \r\n[TRACE] [ioslib] UDID = 2EA7ABC8-A547-4AFC-8ECF-A48F7B70BFB8 \r\n[TRACE] [ioslib] watchOS = 4.2 \r\n[TRACE] [ioslib] Autoselected Xcode: 9.2 \r\n[TRACE] [ioslib] iOS and watchOS simulators already paired and active \r\n[TRACE] [ioslib] Checking if the simulator /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator is already running \r\n[TRACE] [ioslib] Simulator is running (pid 65469) \r\n[TRACE] [ioslib] Waiting for simulator to boot... \r\n[TRACE] [ioslib] Simulator is booted! \r\n[TRACE] [ioslib] iPhone X Simulator already running with the correct UDID \r\n[TRACE] [ioslib] Tailing iPhone X Simulator system log: /Users/ian/Library/Logs/CoreSimulator/20EA5051-FC74-4466-988A-935CBE842658/system.log \r\n[TRACE] [ioslib] Checking if the simulator null is already running \r\n[TRACE] [ioslib] Simulator is not running \r\n[TRACE] [ioslib] Tailing Apple Watch Series 2 - 38mm Simulator system log: /Users/ian/Library/Logs/CoreSimulator/2EA7ABC8-A547-4AFC-8ECF-A48F7B70BFB8/system.log \r\n[TRACE] [ioslib] Running: null -CurrentDeviceUDID 2EA7ABC8-A547-4AFC-8ECF-A48F7B70BFB8\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Apple watch simulator not launching", "creator": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "vvazquezmontero", "key": "vvazquezmontero", "displayName": "Victor Vazquez Montero", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 996, "state": "closed", "name": "2018 Sprint 03 Tooling", "startDate": "2018-01-28T16:24:33.898Z", "endDate": "2018-02-11T16:24:00.000Z", "completeDate": "2018-02-12T04:23:35.987Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "433908", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ewieber] Can you try to reproduce this?", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-01-31T22:40:54.000+0000", "updated": "2018-01-31T22:40:54.000+0000" }, { "id": "433909", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the same logs as provided. [~fmiao], this is the ioslib issue we encountered", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-01-31T22:44:32.000+0000", "updated": "2018-01-31T22:44:32.000+0000" }, { "id": "433959", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "ioslib 1_6_X PR: https://github.com/appcelerator/ioslib/pull/74\r\n\r\nXcode 9 combined both the iOS Simulator and Watch Simulator into a single \"Simulator\" app. It runs each simulator in a different window, each simulator with their own {{system.log}} file. Furthermore, the {{system.log}} files do not appear to include any installation messages so we can't tail for when the app is installed, however the call to {{simctl install}} just happens to be blocking until the app is installed in both the iOS simulator and the Watch simulator, so now we don't have to wait for the app to be installed, just wait for {{simctl install}} to finish.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-02-01T21:21:08.000+0000", "updated": "2018-02-01T21:21:08.000+0000" }, { "id": "433960", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/9792\r\nTi SDK 7_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/9793", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-02-01T23:13:12.000+0000", "updated": "2018-02-01T23:13:12.000+0000" }, { "id": "433975", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. I am able to launch projects with watch apps without issue. Tested by creating several different projects with watch apps, building them with different options, and seeing that each launched as expected", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-02-02T14:55:05.000+0000", "updated": "2018-02-02T14:55:05.000+0000" }, { "id": "434173", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified in SDK builds 7.0.2.v20180205145048 & 7.1.0.v20180205203710", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-02-07T16:34:25.000+0000", "updated": "2018-02-07T16:34:25.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }