{ "id": "151001", "key": "TIMOB-19469", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-09-04T22:52:07.000+0000", "created": "2015-09-04T22:09:59.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.0.0" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2015-09-08T23:20:42.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": "*Details:* Cannot install a mobile app that contains a watchkit1 extension to an iOS device.\r\n\r\n*Note:* This issue is also reproducible from Appc CLI.\r\n\r\n*Steps to reproduce:*\r\n# Create a Titanium App with {{ti create}}\r\n# Next, go into the project and create the Apple Watch App with {{ti create}}\r\n# Make sure the mobile app, watchkit app, and watchkit extension have the correct app ids: com.appc.monkey, com.appc.monkey.watchkitapp, and com.appc.monkey.watchkitextension\r\n# Make sure you have development provisioning profiles for each app id with app group id enabled\r\n# Make sure to app group capabilities is enabled in the watchkit extension target and watchkit app target\r\n# Next, install the mobile app to an iOS device that is paired to a watch: {{ti build -p ios -T device}}\r\n\r\n*Actual:* Build will fail to install to device with the following error:\r\n{code}\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:194\r\n throw e;\r\n ^\r\nError: ENOENT, no such file or directory '/Users/wluu/monkeyClassicWatch/build/iphone/extensions/miniclassic/miniclassic WatchKit Extension/miniclassic WatchKit Extension/miniclassic WatchKit Extension.entitlements'\r\n at fs.openSync (fs.js:439:18)\r\n at fs.writeFileSync (fs.js:978:15)\r\n at iOSBuilder._embedCapabilitiesAndWriteEntitlementsPlist (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150903221516/iphone/cli/commands/_build.js:3048:6)\r\n at iOSBuilder. (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150903221516/iphone/cli/commands/_build.js:3818:9)\r\n at Array.forEach (native)\r\n at iOSBuilder. (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150903221516/iphone/cli/commands/_build.js:3812:37)\r\n at Array.forEach (native)\r\n at iOSBuilder.copyExtensionFiles (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/5.0.0.v20150903221516/iphone/cli/commands/_build.js:3727:18)\r\n at /UWilsonComputer:monkeyClassicWatch\r\n{code}\r\n\r\n*Expected:* Should be able to install a mobile app with watchkit extension.", "attachment": [], "flagged": false, "summary": "Cannot install a mobile app that contains a watchkit1 extension to an iOS device", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appc CLI NPM: 4.2.0-1\r\nAppc CLI Core: 5.0.0-41\r\nTitanium CLI: 5.0.1\r\nArrow: 1.2.54\r\nSDK: 5.0.0.v20150903221516\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.5)\r\nXcode: 7 beta 6\r\nDevices: iphone 6 plus (9.0) with Apple Watch 38mm\r\n", "comment": { "comments": [ { "id": "362349", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/7126\r\n5_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/7127", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-04T22:25:59.000+0000", "updated": "2015-09-04T22:25:59.000+0000" }, { "id": "362350", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Approved. PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-04T22:51:55.000+0000", "updated": "2015-09-04T22:51:55.000+0000" }, { "id": "362597", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified that I was able to install a mobile app that contains a watchkit1 extension to an iOS device.\r\n\r\nTested on:\r\n\r\nAppc CLI NPM: 4.2.0-1\r\nAppc CLI Core: 5.0.0-45\r\nArrow: 1.2.57\r\nSDK: 5.0.0.v20150908120738\r\nNode: v0.10.38\r\nOS: Yosemite (10.10.5)\r\nXcode: 7 beta 6\r\nDevices: iphone 6 plus (9.0) with Apple Watch 38mm", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-09-08T23:20:24.000+0000", "updated": "2015-09-08T23:20:24.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }