{ "id": "159307", "key": "TIMOB-23146", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" }, { "id": "18038", "name": "ioslib 0.10.4", "archived": false, "released": true, "releaseDate": "2016-04-13" }, { "id": "18062", "name": "ioslib 0.10.5", "archived": false, "released": true, "releaseDate": "2016-04-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-12T02:49:20.000+0000", "created": "2016-04-05T09:16:01.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17684", "name": "Release 5.2.1", "archived": false, "released": true, "releaseDate": "2016-03-25" } ], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-05-25T05:07:38.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": "[~cng] [~htbryant] and myself can't get the [Titanium 5.2.0 Sample|https://github.com/appcelerator-developer-relations/appc-sample-ti520] to install the WatchOS2 app to the Simulator anymore.\r\n\r\nThis was also reported on [TiSlack|https://ti-slack.slack.com/archives/general/p1459847345001026] by Erik Storli and he found that downgrading Xcode to 7.2.1 resolved it. So something changed in 7.3 that breaks ioslib.\r\n\r\nWhen you build the [Titanium 5.2.0 Sample|https://github.com/appcelerator-developer-relations/appc-sample-ti520] using {{ti build -p ios --launch-watch-app}} it will hang at _Waiting for Watch App to install_:\r\n\r\n{code}\r\n[INFO] Launching iOS Simulator\r\n[TRACE] [ioslib] Found watchOS 2.2 app: com.appcelerator.sample.ti520.watchkitapp\r\n[TRACE] [ioslib] Selected iOS Simulator: iPhone 6s Plus\r\n[TRACE] [ioslib] UDID = C7ECC4A2-E0F1-4248-B51E-5873696E719E\r\n[TRACE] [ioslib] iOS = 9.3\r\n[TRACE] [ioslib] Selected WatchOS Simulator: Apple Watch - 42mm\r\n[TRACE] [ioslib] UDID = 7BCFC934-2DDA-4768-A7CA-929DA315E8A4\r\n[TRACE] [ioslib] WatchOS = 2.2\r\n[TRACE] [ioslib] Autoselected Xcode: 7.3\r\n[TRACE] [ioslib] iOS and watchOS simulators already paired\r\n[TRACE] [ioslib] Tailing iPhone 6s Plus Simulator system log: /Users/fokkezb/Library/Logs/CoreSimulator/C7ECC4A2-E0F1-4248-B51E-5873696E719E/system.log\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl shutdown C7ECC4A2-E0F1-4248-B51E-5873696E719E\r\n[TRACE] [ioslib] iPhone 6s Plus Simulator was already shutdown\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator -CurrentDeviceUDID C7ECC4A2-E0F1-4248-B51E-5873696E719E\r\n[TRACE] [ioslib] iPhone 6s Plus Simulator started\r\n[TRACE] [ioslib] Tailing Apple Watch - 42mm Simulator system log: /Users/fokkezb/Library/Logs/CoreSimulator/7BCFC934-2DDA-4768-A7CA-929DA315E8A4/system.log\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl shutdown 7BCFC934-2DDA-4768-A7CA-929DA315E8A4\r\n[TRACE] [ioslib] Apple Watch - 42mm Simulator was already shutdown\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/Applications/Simulator (Watch).app/Contents/MacOS/Simulator (Watch) -CurrentDeviceUDID 7BCFC934-2DDA-4768-A7CA-929DA315E8A4\r\n[TRACE] [ioslib] Apple Watch - 42mm Simulator started\r\n[TRACE] [ioslib] Running: osascript \"/Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/ioslib/lib/sim_focus.scpt\" \"Simulator (Watch)\"\r\n[TRACE] [ioslib] Apple Watch - 42mm Simulator successfully focused\r\n[TRACE] [ioslib] Running: osascript \"/Users/fokkezb/Library/Application Support/Titanium/mobilesdk/osx/5.2.0.GA/node_modules/ioslib/lib/sim_focus.scpt\" \"Simulator\"\r\n[TRACE] [ioslib] iPhone 6s Plus Simulator successfully focused\r\n[TRACE] [ioslib] Running: /Applications/Xcode.app/Contents/Developer/usr/bin/simctl install C7ECC4A2-E0F1-4248-B51E-5873696E719E /Users/fokkezb/dev/samples/appc-sample-ti520/build/iphone/build/Products/Debug-iphonesimulator/Ti 5.2.0.app\r\n[TRACE] [ioslib] App installed\r\n[TRACE] [ioslib] Waiting for Watch App to install…\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS/WatchOS: Installing to Simulators hangs since Xcode 7.3", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Xcode 7.3", "closedSprints": [ { "id": 619, "state": "closed", "name": "2016 Sprint 08 Tooling", "startDate": "2016-04-09T00:30:04.446Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:58:12.551Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "381824", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I believe the system log has changed between Xcode 7.2.1 and Xcode 7.3\r\nThis is where the if statement never gets hit\r\nhttps://github.com/appcelerator/ioslib/blob/master/lib/simulator.js#L961\r\n\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-06T06:04:10.000+0000", "updated": "2016-04-06T06:04:10.000+0000" }, { "id": "381832", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Here's the simulator system log for Xcode 7.3 just before it got stuck.\r\n\r\n{code}\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000021d000 -[ACXServerInstallOperation _onQueue_prepForTransferAndInstall]: Acquiring socket for com.appcelerator.sg.testwatch2 (placeholder = YES)\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXIDSSocketManager _onInternalQueue_initiateConnectionWithCompletionBlock:]: Starting socket bringup\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXIDSSocketManager _sendMessage:messageDictionary:error:]: Sent message with IDS GUID A6224558-480B-440E-AF7A-A05B582E6D5D\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000019a000 -[ACXIDSSocketManager handleIDSRelayConnectionResponse:fromID:UUID:socketPath:context:]: Got connection response with IDS ID DA5FCE2A-3E51-4E6C-8127-B40D60A64AE5\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000019a000 -[ACXIDSSocketManager handleIDSRelayConnectionResponse:fromID:UUID:socketPath:context:]: Connecting to socket at /tmp/appconduit_61F8CAD9-D7B5-4BB0-9A6F-52BC139389CA.sock\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000019a000 __77-[ACXIDSSocketManager beginUsingSocketAsDelegate:onQueue:tryWiFi:completion:]_block_invoke_2: Socket setup successful\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation _onQueue_doTransferAndInstallForWatchKitAppWithBundleID:size:]: com.appcelerator.sg.testwatch2: Sending Hello\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation receivedDictionaryOrData:]: com.appcelerator.sg.testwatch2: Starting streaming zip stream\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation receivedDictionaryOrData:]: com.appcelerator.sg.testwatch2: transferred 38037 bytes in 0.01 seconds (3529.27 KiB/sec); 0.95x compression\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation _onQueue_startInstall]: com.appcelerator.sg.testwatch2: Sending install start\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation receivedDictionaryOrData:]: com.appcelerator.sg.testwatch2: Got install done\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000021d000 __48-[ACXInstallQueue _onQueue_deQueueNextOperation]_block_invoke_2: Finished placeholder install for com.appcelerator.sg.testwatch2.watchkitapp; enqueueing actual install\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000021d000 -[ACXInstallQueue _onQueue_deQueueNextOperation]: Dequeued install operation for com.appcelerator.sg.testwatch2.watchkitapp (0 remaining in queue)\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro installd[43192]: 0x700000094000 -[MIClientConnection snapshotWKAppInCompanionAppID:toURL:options:completion:]: Snapshot requested for com.appcelerator.sg.testwatch2 by appconduitd (pid 43308) to /Users/kiat/Library/Developer/CoreSimulator/Devices/7C85302F-79EB-4187-B8B2-EA13F9D69D1C/data/Library/Caches/com.apple.AppConduit.staging/com.appcelerator.sg.testwatch2_cEYllD/Transfer with options {\r\n\t CreatePlaceholderOption = 0;\r\n\t}\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro com.apple.MobileInstallationHelperService[43232]: 0x70000021d000 -[MobileInstallationHelperService createAppSnapshotWithBundleID:snapshotToURL:onlyV1AppIfPresent:placeholderOnly:completion:]: Snapshot requested for com.appcelerator.sg.testwatch2 to /Users/kiat/Library/Developer/CoreSimulator/Devices/7C85302F-79EB-4187-B8B2-EA13F9D69D1C/data/Library/Caches/com.apple.AppConduit.staging/com.appcelerator.sg.testwatch2_cEYllD/Transfer. V1: 0, placeholder: 0\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000021d000 -[ACXServerInstallOperation _onQueue_prepForTransferAndInstall]: Acquiring socket for com.appcelerator.sg.testwatch2 (placeholder = NO)\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation _onQueue_doTransferAndInstallForWatchKitAppWithBundleID:size:]: com.appcelerator.sg.testwatch2: Sending Hello\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation receivedDictionaryOrData:]: com.appcelerator.sg.testwatch2: Starting streaming zip stream\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation receivedDictionaryOrData:]: com.appcelerator.sg.testwatch2: transferred 52583 bytes in 0.02 seconds (2382.17 KiB/sec); 1.75x compression\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 __48-[ACXInstallQueue _onQueue_deQueueNextOperation]_block_invoke: Starting pending install timer for com.appcelerator.sg.testwatch2.watchkitapp\r\nApr 6 14:20:37 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXServerInstallOperation _onQueue_startInstall]: com.appcelerator.sg.testwatch2: Sending install start\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro containermanagerd[43220]: 0x700000323000 systemGroupContainerPath: com.apple.containermanagerd.internal is not entitled for system group identifier: systemgroup.com.apple.lsd\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro lsd[43221]: LaunchServices:(called by PID 43206) Identifiers file does not exist, creating file.\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro containermanagerd[43220]: 0x700000323000 systemGroupContainerPath: com.apple.containermanagerd.internal is not entitled for system group identifier: systemgroup.com.apple.lsd\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXIDSMessaging service:account:incomingMessage:fromID:context:]: Received message with ID 0575DF13-6ABE-4AA2-93E5-8E2C2B5F36EF\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000021d000 -[ACXCompanionSyncConnection _onQueue_handleAppInstallMessage:]: Setting state to installed for com.appcelerator.sg.testwatch2.watchkitapp\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000021d000 __54-[ACXInstallQueue acknowledgeInstallationForWatchApp:]_block_invoke: Installation of com.appcelerator.sg.testwatch2.watchkitapp acknowledged.\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro nanoprefsyncd[43267]: (Error) Domain (com.apple.Carousel) not whitelisted; dropping incoming message\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000021d000 -[ACXGizmoState _onQueue_setInstallStatusForApps:sendNotification:withUpdatePredicate:]: Posting ACXApplicationsUpdatedDarwinNotification\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000019a000 __71+[ACXDeviceConnectionClient messageAllObserversWithInstallStateUpdate:]_block_invoke: Messaging observers with update {\r\n\t \"com.appcelerator.sg.testwatch2.watchkitapp\" = 2;\r\n\t}\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro companionappd[43271]: -[SPApplicationManager newGizmoPersistentDomain] - results = {\r\n\t \"com.appcelerator.sg.testwatch2.watchkitapp\" = {\r\n\t SPApplicationTeamID = WP4952RUHJ;\r\n\t SPApplicationUniqueID = 118ad9ec8e490ee4bd960d62ebf5c753;\r\n\t SPContainerAppBundleId = \"com.appcelerator.sg.testwatch2\";\r\n\t SPPluginBundleIdKey = \"com.appcelerator.sg.testwatch2.watchkitapp.watchkitextension\";\r\n\t WKBetaAppKey = 0;\r\n\t WKWatchKitVersion = \"2.0\";\r\n\t i = \"com.appcelerator.sg.testwatch2.watchkitapp\";\r\n\t n = testwatch2;\r\n\t s = 2;\r\n\t saw = 1;\r\n\t };\r\n\t \"com.apple.stocks.watchapp\" = {\r\n\t SPApplicationTeamID = \"\";\r\n\t SPApplicationUniqueID = d0e42d83b56b97f4ffe42a7ecd8ee539;\r\n\t SPContainerAppBundleId = \"com.apple.stocks\";\r\n\t SPPluginBundleIdKey = \"com.apple.stocks.watchkitextension\";\r\n\t WKBetaAppKey = 0;\r\n\t WKWatchKitVersion = \"2.0\";\r\n\t s = 3;\r\n\t saw = 1;\r\n\t };\r\n\t}\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000019a000 -[ACXServerInstallOperation receivedDictionaryOrData:]: com.appcelerator.sg.testwatch2: Got install done\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 __48-[ACXInstallQueue _onQueue_deQueueNextOperation]_block_invoke_2: Finished install for com.appcelerator.sg.testwatch2.watchkitapp\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 -[ACXInstallQueue _onQueue_deQueueNextOperation]: Nothing remaining in install queue.\r\n[TRACE] [ioslib] App installed\r\n{code}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-06T06:22:54.000+0000", "updated": "2016-04-06T06:22:54.000+0000" }, { "id": "382046", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "For Xcode 7.2.1, the log we are looking for is: {{Apr 7 15:24:50 AppcAdmins-MacBook-Pro companionappd[2266]: (Note ) WatchKit: application (com.appcelerator.sg.testwatch2.watchkitapp), install status: 2, message: application install success}}\r\nwhich is completely non-existent in Xcode 7.3.\r\n\r\nIn Xcode 7.3, it seems generic so far. {{Apr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x70000019a000 -[ACXServerInstallOperation receivedDictionaryOrData:]: com.appcelerator.sg.testwatch2: Got install done}} ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-07T07:56:56.000+0000", "updated": "2016-04-07T07:56:56.000+0000" }, { "id": "382061", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR here: https://github.com/appcelerator/ioslib/pull/31\r\n\r\nNot the best fix but, the new system log is just....unbearably terrible compared to Xcode 7.2.1 and earlier. So much so that it's nearly impossible to find valid info in the log that confirms that the watchapp is installed, other than {{Installation of com.appcelerator.sg.testwatch2.watchkitapp acknowledged.}}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-07T09:46:44.000+0000", "updated": "2016-04-07T09:46:44.000+0000" }, { "id": "382062", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Will do TIMOB PR if PR is ok.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-07T09:52:05.000+0000", "updated": "2016-04-07T09:52:05.000+0000" }, { "id": "382065", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Why the like that says the installation is acknowledged? There's a line towards the end that seems even better to test for:\r\n\r\n{code}\r\nApr 6 14:20:38 AppcAdmins-MacBook-Pro appconduitd[43308]: 0x700000094000 __48-[ACXInstallQueue _onQueue_deQueueNextOperation]_block_invoke_2: Finished install for com.appcelerator.sg.testwatch2.watchkitapp\r\n{code}\r\n\r\nWhat about if the watchkit app fails to install?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-04-07T11:35:51.000+0000", "updated": "2016-04-07T11:35:51.000+0000" }, { "id": "382165", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "As discussed the day before, \"Finished install\" can imply both success and failure, so acknowledged is still a better choice. and since we are unable to produce a fail case, this approach is the best way forward.\r\nChris has done the code review and he's ok.\r\n[~hansknoechel] can you do an FR? Thanks.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-08T02:44:50.000+0000", "updated": "2016-04-08T03:32:49.000+0000" }, { "id": "382397", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "titanium_mobile PRs:\r\nMaster: https://github.com/appcelerator/titanium_mobile/pull/7936\r\n5_3_X: https://github.com/appcelerator/titanium_mobile/pull/7937\r\n", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-04-12T03:05:22.000+0000", "updated": "2016-04-12T03:05:22.000+0000" }, { "id": "382401", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-04-12T03:23:37.000+0000", "updated": "2016-04-12T03:23:37.000+0000" }, { "id": "386266", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "I receive the following error when trying to build the sample app with {{ti build -p ios --launch-watch-app}} through the CLI. There are no errors when building through Studio or through the CLI with {{*appc run* -p ios --launch-watch-app}} :\r\n\r\n{code:java}\r\n[DEBUG] module.js:328\r\n[DEBUG] throw err;\r\n[DEBUG] ^\r\n[ERROR] : Cannot find module '/Users/harrybryant/Documents/Appcelerator_Studio_Workspace/Apple WatchOS2/undefined'\r\n[DEBUG] at Function.Module._resolveFilename (module.js:326:15)\r\n[DEBUG] at Function.Module._load (module.js:277:25)\r\n[DEBUG] at Function.Module.runMain (module.js:442:10)\r\n[DEBUG] at startup (node.js:136:18)\r\n[DEBUG] at node.js:966:3\r\n[ERROR] Alloy compiler failed\r\n{code}\r\n\r\n\r\nTested On:\r\niPhone 6S (9.3) Simulator & Watch OS2.2 Simulator\r\nMac OSX El Capitan 10.11.3 (15D21) \r\nTi SDK: 5.3.0.v20160517124218\r\nAppc Studio: 4.6.0.201605180604\r\nAppc NPM: 4.2.5-5\r\nApp CLI: 5.3.0-45\r\nXcode 7.3\r\nNode v4.2.6\r\nproduction", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-19T22:51:45.000+0000", "updated": "2016-05-24T16:47:03.000+0000" }, { "id": "386302", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~htbryant] where's the \"following error\" which you indicated in your comment? Did you mean the same problem as the ticket?\r\n\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-20T03:38:52.000+0000", "updated": "2016-05-20T03:38:52.000+0000" }, { "id": "386352", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "[~cng] Apologies, I forgot to include the error, I've amended my previous comment.", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-20T16:39:07.000+0000", "updated": "2016-05-20T16:39:07.000+0000" }, { "id": "386417", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~htbryant] Just a hunch, but can you try not to have a spacing in the project name see if that works? also, give *appc ti build -p ios --launch-watch-app* a shot too. Thanks.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-23T01:11:35.000+0000", "updated": "2016-05-23T01:11:35.000+0000" }, { "id": "386476", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "[~cng] Running {{appc ti build -p ios --launch-watch-app}} works absolutely fine. Removed the space in the project name and ran {{ti build -p ios --launch-watch-app}} and ran into the same error. ", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-23T16:47:08.000+0000", "updated": "2016-05-23T16:47:08.000+0000" }, { "id": "386640", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Watch OS apps can be built to simulators successfully using {{appc run -p ios --launch-watch-app}}.\r\n\r\nTested on: \r\nOS X El Capitan Version 10.11.4\r\niPhone 6S Simulator and Watch OS 2.2 Simulator\r\nAppc Studio: 4.6.0.201605201934\r\nTi SDK: 5.3.0.v20160517124218\r\nAppc NPM: 4.2.5-5\r\nAppc Core: 5.3.0-46\r\nNode: v4.4.4\r\n\r\n*Closing Ticket.*\r\n\r\n\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-05-24T16:54:37.000+0000", "updated": "2016-05-24T16:54:37.000+0000" }, { "id": "386737", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "So, we close this ticket as fixed as {{appc run}} and {{appc ti build}} work, even though {{ti build}} does not? That troubles me for 2 reasons:\r\n\r\n* We're ignoring an OSS tooling bug.\r\n* We're not investigating *why* {{appc ti build}} and {{ti build}} differ, possibly leaving fundamental architecture flaws uncovered.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2016-05-25T05:07:38.000+0000", "updated": "2016-05-25T05:07:38.000+0000" } ], "maxResults": 18, "total": 18, "startAt": 0 } } }