{ "id": "149754", "key": "TIMOB-19227", "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-07-28T22:36:48.000+0000", "created": "2015-07-17T01:13:58.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-16T22:45:18.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": "h6.Problem Reproduce Step:\r\n1. Created a simple Hello World app in the Appcelerator Studio \r\n2. Followed the walkthrough from [https://appcelerator.github.io/appc-docs/latest/#!/guide/Integrate_a_Native_iOS_App_Extension_or_WatchKit_App]\r\n3. Was able to debug/run the app in the Apple Watch Simulator \r\n4. But when trying to debug/run the app on the real devices Apple Watch\r\n\r\n\r\nh6.Expect Result:\r\nShould work well like it run on simulator.\r\n\r\nh6.Actual Result\r\nApp never shows up on the device. The watchkit app shows up in the “Apple Watch” app on the iPhone, the option “Show App on Apple Watch” is on and status shows “installing…”. Unfortunately the installation never completes. \r\n\r\nh6.Note:\r\nTried to just Run the app without debugging, removed the app, cleaned both Studio and Xcode, but still same error\r\n\r\nh6.Test Project:\r\n[watchTest|https://www.dropbox.com/s/a05a7dzs3ni8sh6/watchTest.zip?dl=0]\r\nAslo you will need to go into the tiapp.xml and change the path to the watch extension project specific for your environment: \r\n{code}\r\n \r\nwatchTest WatchKit Extension \r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Apple Watch App not installing on real device", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "Titanium 4.1.0 SDK, \r\nStudio 4.1.0.201507071122, \r\niOS 8.4 ", "closedSprints": [ { "id": 455, "state": "closed", "name": "2015 Sprint 15 Tooling", "startDate": "2015-07-20T16:26:19.926Z", "endDate": "2015-08-08T01:26:00.000Z", "completeDate": "2015-08-03T20:10:37.386Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "358013", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "I am also having this problem.", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2015-07-20T18:58:39.000+0000", "updated": "2015-07-20T18:58:39.000+0000" }, { "id": "358069", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "I noticed that if I open the xcodeproj file in Xcode, there is a circle with a slash through it over the WatchKit App icon (under Extensions). I don't know what that means, but it doesn't look good.\r\n\r\nThe structure of the project created by Titanium is very different from the structure of the project that I created in Xcode to hold my watchkit app. The Xcode project has four targets: the phone app, the watchkit extension, the watchkit app, and tests.\r\n\r\nThe Titanium project has three targets: the app, an ipad build, and a universal build. Not sure why those are set up like that; I thought our app was universal, as we target both ipad and iphone.\r\n\r\nBut the extension is just found under an \"Extensions\" folder; it's not really a target. Maybe that matters, maybe it doesn't. If I knew, I'd probably be developing my app with Xcode! :-)", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2015-07-21T13:38:08.000+0000", "updated": "2015-07-21T13:38:08.000+0000" }, { "id": "358070", "author": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "body": "Chris -- as you are working on this, if there is a workaround, please share it. I don't mind mucking around with the xcode project as a stopgap measure to get the app installed properly.", "updateAuthor": { "name": "jpriebe", "key": "jpriebe", "displayName": "Jason Priebe", "active": true, "timeZone": "America/New_York" }, "created": "2015-07-21T13:38:43.000+0000", "updated": "2015-07-21T13:38:43.000+0000" }, { "id": "358075", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~jpriebe] Yes! You betcha. I have a huge update that is about to land that fixes support for Watch Apps for both watchOS 1.x and 2.0 as well as Xcode 7, Node.js 0.12, io.js, and I sped up device builds by quite a lot. I'm racing to get this done ASAP, so please hang in there. It should land today or tomorrow.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-07-21T15:13:37.000+0000", "updated": "2015-07-21T15:13:37.000+0000" }, { "id": "358463", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Well the good news is watch apps now install. Resolving as fixed.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-07-28T22:36:53.000+0000", "updated": "2015-07-28T22:36:53.000+0000" }, { "id": "358510", "author": { "name": "alexyak", "key": "alexyak", "displayName": "Alex Yakhnin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So, how do I get a hold of this build?", "updateAuthor": { "name": "alexyak", "key": "alexyak", "displayName": "Alex Yakhnin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-29T15:26:27.000+0000", "updated": "2015-07-29T15:26:27.000+0000" }, { "id": "358536", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~alexyak] You can download it by running:\r\n\r\n{code}\r\nti sdk install -b master\r\n{code}\r\n\r\nor\r\n\r\n{code}\r\nappc ti sdk install -b master\r\n{code}\r\n\r\nAdd the {{-d}} flag to make this SDK the default.\r\n\r\nNOTE: This build is VERY buggy. You will run into problems. I highly recommend you wait a couple more days for us to stabilize things.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-07-29T19:05:57.000+0000", "updated": "2015-07-29T19:05:57.000+0000" }, { "id": "358623", "author": { "name": "alexyak", "key": "alexyak", "displayName": "Alex Yakhnin", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you Chris. You're right about instability of this build. It does't even compile/include the watch code....\r\n", "updateAuthor": { "name": "alexyak", "key": "alexyak", "displayName": "Alex Yakhnin", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-30T20:06:09.000+0000", "updated": "2015-07-30T20:06:09.000+0000" }, { "id": "358626", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~alexyak] Working on it! :)", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-07-30T20:20:44.000+0000", "updated": "2015-07-30T20:20:44.000+0000" }, { "id": "361875", "author": { "name": "mancio", "key": "mancio", "displayName": "Mancio Basoc", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Chris. We came about on this issue and installed the latest build as mentioned above however the issue still persists. Any other suggestions or fix that we should do on our end? We really need the fix on this issue ASAP. Thanks ", "updateAuthor": { "name": "mancio", "key": "mancio", "displayName": "Mancio Basoc", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-01T03:57:17.000+0000", "updated": "2015-09-01T03:57:17.000+0000" }, { "id": "361876", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~mancio] You need the latest everything. Latest appc cli, latest titanium cli, latest titanium sdk.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-01T04:01:09.000+0000", "updated": "2015-09-01T04:01:09.000+0000" }, { "id": "361905", "author": { "name": "kevinm", "key": "kevinm", "displayName": "Kevin Milo", "active": true, "timeZone": "Asia/Manila" }, "body": "@Chris Barber: I have updated to the latest app-cli 4.1.2, titanium cli 4.1.5, and titanium SDK 5.0.0.v20150831163626. Now it doesn't even finish building using the command :\r\n{code}appc ti build -p ios -T dist-adhoc{code}\r\nNo errors are showed. It stops at:\r\n{code}...\r\n[INFO] Processing Titanium symbols{code}\r\nWhen I opened the generated Xcode project, the embedded WatchKit extension binary is not there anymore. Is there anything else I need to update?", "updateAuthor": { "name": "kevinm", "key": "kevinm", "displayName": "Kevin Milo", "active": true, "timeZone": "Asia/Manila" }, "created": "2015-09-01T08:09:09.000+0000", "updated": "2015-09-01T08:14:50.000+0000" }, { "id": "361933", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~kevinm] I suspect your Titanium SDK is too old. There was a bug last night (TIMOB-19445) that broke things and it got fixed. Please update your Ti SDK and if you still have issues, create a new ticket.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-09-01T14:00:39.000+0000", "updated": "2015-09-01T14:00:39.000+0000" }, { "id": "362027", "author": { "name": "mancio", "key": "mancio", "displayName": "Mancio Basoc", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks Chris for the fast response! I would just follow Kevin Milo's ticket for now. ", "updateAuthor": { "name": "mancio", "key": "mancio", "displayName": "Mancio Basoc", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-09-02T05:29:23.000+0000", "updated": "2015-09-02T05:29:23.000+0000" }, { "id": "413418", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-16T22:45:18.000+0000", "updated": "2017-03-16T22:45:18.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }