{ "id": "172557", "key": "TIMOB-26520", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-12-19T10:17:33.000+0000", "created": "2018-11-05T15:35:46.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [ { "id": "57650", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "173660", "key": "TIMOB-27097", "fields": { "summary": "iOS: Incremental builds fail to install app when using dynamic frameworks", "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": "2019-05-22T21:26:19.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": "On the current build on Master {{8.0.0.v20181102102238}} the application fails to install to device and the following error is shown.\r\n{code:java}\r\n[ERROR] : An error occurred during build after 48s 872ms\r\n[ERROR] : Failed to install app on device (0xe800801c)\r\n[ERROR] : For some reason the app failed to install on the device. Try reconnecting your device and check your provisioning profile and entitlements.\r\n{code}\r\n\r\n*Test Steps*\r\n# Download latest build from master {{appc ti sdk install -b master -d}} (8.0.0.v20181102102238)\r\n# Create a new Alloy/Titanium application \r\n# Try run application on iOS device \r\n\r\n*Actual result*\r\nAbove error is shown.\r\n\r\n*Expected result*\r\nApplication should install and be able to run on device without any issues.\r\n", "attachment": [ { "id": "65941", "filename": "build_iphone.log", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-03T10:24:14.000+0000", "size": 2466647, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: App fails to install on device using a build from Master ", "creator": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK version: 8.0.0.v20181102102238\r\nAPPC Studio: 5.1.0.201808080937\r\niPhone 6 plus (iOS 12.1)\r\nAPPC CLI: 7.0.6\r\nOperating System Name: Mac OS Mojave\r\nOperating System Version: 10.14.1\r\nNode.js Version: 8.9.1\r\nXcode 10.0", "closedSprints": [ { "id": 1103, "state": "closed", "name": "2018 Sprint 25", "startDate": "2018-12-02T16:29:21.531Z", "endDate": "2018-12-16T16:29:00.000Z", "completeDate": "2018-12-15T02:33:24.870Z", "originBoardId": 114 }, { "id": 1104, "state": "closed", "name": "2018 Sprint 26", "startDate": "2018-12-17T15:56:00.172Z", "endDate": "2018-12-21T15:56:00.000Z", "completeDate": "2018-12-26T17:42:17.145Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443292", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~cbarber], I'm also getting this from time to time. Maybe something in node-ios-device? I'm not getting any useful logs apart from the above error. (Slightly different error code though: 0xe8008001)\r\n\r\nWiping the {{build}} folder and then running again solves the issue for me.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-05T16:10:56.000+0000", "updated": "2018-11-05T16:10:56.000+0000" }, { "id": "443321", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I get this from current stable versions (e.g. 7.4.1) as well and applying the workaround Jan's describes as well. Would be great to fix! To reproduce:\r\n1. Deploy an iOS app to device using 7.4.1 and Xcode 10\r\n2. Change some lines of code in the app\r\n3. Try to run the app again\r\n\r\nExpected: A fast, great Titanium app running on the iOS device\r\nActual: The above error code", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-06T09:34:24.000+0000", "updated": "2018-11-06T09:34:24.000+0000" }, { "id": "443700", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Nothing has changed in node-ios-device and since things work, granted intermittently, I doubt the problem is with node-ios-device.\r\n\r\nJust out of curiosity, what Node.js version are you using? node-ios-device has not been tested with Node.js 11.x (coming soon).", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-11-16T17:31:24.000+0000", "updated": "2018-11-16T17:31:24.000+0000" }, { "id": "443702", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "v8.12.0 / v10.13.0 :(. I'd bet on an Xcode 10 thing that changed.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-16T18:02:19.000+0000", "updated": "2018-11-16T18:02:19.000+0000" }, { "id": "443704", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Running Node v10.13.0 too. I have two Titanium projects i use for all kinds of testing. One is a classic project, the other is Alloys based. The classic one has this issue every now and then, whereas i have not seen it in the Alloy project yet. Super strange.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-11-16T18:50:03.000+0000", "updated": "2018-11-16T18:50:03.000+0000" }, { "id": "443740", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Using Node 8.9.1 and I get this error all the time on the Master branch.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-19T11:15:42.000+0000", "updated": "2018-11-19T11:15:42.000+0000" }, { "id": "443809", "author": { "name": "shaig", "key": "shaig", "displayName": "Samuel Haig", "active": true, "timeZone": "Europe/London" }, "body": "I also get a failure, even after running `appc ti clean` and removing the build folder. Using node v8.12.0. Using SDK 8.0.0.v20181031043847", "updateAuthor": { "name": "shaig", "key": "shaig", "displayName": "Samuel Haig", "active": true, "timeZone": "Europe/London" }, "created": "2018-11-21T11:35:42.000+0000", "updated": "2018-11-21T11:35:42.000+0000" }, { "id": "444138", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Getting this issue all the time on master branch, [this issue|https://github.com/ios-control/ios-deploy/issues/148] seems to have the same error code and points to a sort of code signing issue? I've attached the full build log from my run.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-03T10:24:49.000+0000", "updated": "2018-12-03T10:24:49.000+0000" }, { "id": "444145", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Rolling through the builds on the next branch\r\n\r\n8.0.0.v20180927131133 - Thu Sep 27, 2018 13:11:33 (/)\r\n8.0.0.v20181001082706 - Mon Oct 01, 2018 08:27:06 (/)\r\n8.0.0.v20181002083413 - Tue Oct 02, 2018 08:34:13 (x)\r\n\r\nSo this looks to have been caused somewhere around the start of October, looking through the history I see https://github.com/appcelerator/titanium_mobile/pull/10218 as the PR with the most potential to cause this issue", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-03T11:46:44.000+0000", "updated": "2018-12-03T11:46:44.000+0000" }, { "id": "444167", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Tried using [ios-deploy|https://github.com/ios-control/ios-deploy] in the hope that it gave me a better error. I guess it maybe did, {{2018-12-03 15:32:44.618 ios-deploy\\[80368:1665232\\] \\[ !! \\] Error 0xe800801c: No code signature found. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)}}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-03T15:33:45.000+0000", "updated": "2018-12-03T15:33:45.000+0000" }, { "id": "444183", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "{{TitaniumKit.framework}} is injected at build time into the generated Xcode project and needs to be signed. This regression was introduced in [PR 10218|https://github.com/appcelerator/titanium_mobile/pull/10218].\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile/pull/10505", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-12-03T22:46:25.000+0000", "updated": "2018-12-03T22:46:25.000+0000" }, { "id": "444194", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is definitely not only 8.0.0+ but also on earlier versions. Though it may be the same reason: We use a lot of dynamic frameworks, which also need to be signed differently. That would also explain why some apps run into it and some not.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-12-04T06:16:29.000+0000", "updated": "2018-12-04T06:16:29.000+0000" }, { "id": "444195", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~hknoechel] I don't follow. The issue is with the addition of {{TitaniumKit.framework}}, which was introduced into 8.0.0 via PR 10218.\r\n\r\nIf this issue occurred in the past with dynamic frameworks, then I don't recall hearing about it. Most commonly this error was caused by bad provisioning profile as the error suggests.\r\n\r\nOn a side note, PR 10218 also broke increment builds. I'll be fixing it in another commit to PR 10505.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-12-04T06:23:36.000+0000", "updated": "2018-12-04T06:23:36.000+0000" }, { "id": "444197", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Please see the previous comments for reference. We are currently seeing this on all kind of Titanium projects using 7.4.1 / 7.5.0 GA builds and valid (non-automatically-signed) provisioning profiles. Not sure if [~jvennemann] also ran into this using < 8.0.0 builds, but I'll for sure try a 8.0.0 build with this flag set as well.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-12-04T08:38:25.000+0000", "updated": "2018-12-04T08:38:25.000+0000" }, { "id": "444216", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "The 2 error codes mentioned so far appear to represent different things, I think it's best to do the following here\r\n\r\n- This ticket is for an 8.0.0 only issue where the TitaniumKit framework is not getting signed causing an app to fail to install to device due to a codesigning issue, throwing error code 0xe800801c. This issue is consistently reproducible\r\n- A separate ticket is filed for the issue [~hknoechel] is mentioning. [~hknoechel] if you could send me reproducible steps/project on slack I can handle filing and collecting the necessary error logs that for you. It's possibly the same issue [~jvennemann] is seeing with error code 0xe8008001 which looks to represent [\"An unknown error\"|https://github.com/ios-control/ios-deploy/issues/292#issuecomment-328091687]. This issue is intermittent.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-04T12:14:03.000+0000", "updated": "2018-12-04T12:14:03.000+0000" }, { "id": "444737", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, fix verified in SDK Version {{8.0.0.v20181219044040}}\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/10505\r\n\r\n", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-19T14:57:50.000+0000", "updated": "2018-12-19T14:57:50.000+0000" }, { "id": "448600", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~hknoechel], [~eharris], for error code 0xe8008001 see TIMOB-27097", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-05-22T21:26:19.000+0000", "updated": "2019-05-22T21:26:19.000+0000" } ], "maxResults": 17, "total": 17, "startAt": 0 } } }