{ "id": "166311", "key": "AC-4823", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2017-03-10T14:45:32.000+0000", "created": "2017-02-24T14:42:35.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-06-27T11:07:24.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": [], "description": "This happens whenever I try to run the application on a real device including a specific module (in this case the PSPDFKit module).\r\n\r\nI get a generic error from Appcelerator Studio saying:\r\n\r\n{code:java}\r\n[ERROR] : An error occurred during build after 1m 41s 862ms \r\n[ERROR] : Failed to install app on device (0xe800002d) \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\nif I manually install the new generated ipa on the device I get the error from the console:\r\n\r\n{code:java}\r\nmobile_installation_proxy(MobileSystemServices)[173]: 0x16df17000 handle_install: Installation failed: Error Domain=MIInstallerErrorDomain Code=13 \r\n\"Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.O4m8As/extracted/Payload/xxx.app/Frameworks/PSPDFKit.framework : 0xe8008019 (The application does not have a valid signature.)\" \r\nUserInfo={LibMISErrorNumber=-402620391, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=147, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=\r\nFailed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.O4m8As/extracted/Payload/xxx.app/Frameworks/PSPDFKit.framework : 0xe8008019 (The application does not have a valid signature.)}\r\n{code}\r\n\r\nthis doesn't happen in applications that don't include that module.", "attachment": [], "flagged": false, "summary": "Failed to verify code signature of [...].framework : [...] (The application does not have a valid signature.)", "creator": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "environment": "TiSDK 6.0.1.GA, iOS 10.2, ", "comment": { "comments": [ { "id": "407966", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please share a sample project with the module included. We need to verify the issue. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-02-24T16:22:12.000+0000", "updated": "2017-02-24T16:22:12.000+0000" }, { "id": "407969", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "you can get a sample app from here:\r\n\r\nhttps://github.com/PSPDFKit/Appcelerator-iOS/blob/master/example/app.js\r\n\r\nfor a module demo key I'm going to page Peter, the creator and founder of PSPDFKit.", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-24T16:32:52.000+0000", "updated": "2017-02-24T16:32:52.000+0000" }, { "id": "407970", "author": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "body": "You can get a demo of our SDK here: https://pspdfkit.com/#trynow\r\n\r\nJust enter any data into the text fields, the demo link and eval license is all fully autogenerated.\r\nPing me at peter@pspdfkit.com if you have any troubles and I can send you a custom eval license; just need your app bundle ID.", "updateAuthor": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-24T16:41:37.000+0000", "updated": "2017-02-24T16:41:37.000+0000" }, { "id": "407975", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, [~a.marcone], you should follow up with [~steipete]. It's your pspdfkit's licence issue. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-02-24T18:10:03.000+0000", "updated": "2017-02-24T18:10:03.000+0000" }, { "id": "408011", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-25T09:14:42.000+0000", "updated": "2017-02-25T09:14:42.000+0000" }, { "id": "408013", "author": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "body": "It's not a licensing issue - our licensing does not prevent the app to compile/link but would throw an exception at runtime. This is not the case here.\r\n\r\nThe issue likely stems from the fact that we use a dynamic framework and somehow it's not correctly signed when Appcelerator builds the Xcode project.\r\nThe PSPDFKit.framework is unsigned at distribution time based on Apple's best practices and needs to be signed at app build time (Xcode usually does that automatically)", "updateAuthor": { "name": "steipete", "key": "steipete", "displayName": "Peter Steinberger", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-25T21:47:17.000+0000", "updated": "2017-02-25T21:47:17.000+0000" }, { "id": "408024", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello [~a.marcone],\r\n\r\nI think PSPDFKit.framework is a dynamic framework. That's why its showing error. \r\n\r\nPlease visit https://github.com/csemrm/hook-embedded-frameworks \r\n\r\nHope its solve your problem.\r\n\r\nThanks \r\n\r\n", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2017-02-27T08:36:30.000+0000", "updated": "2017-02-27T08:36:30.000+0000" }, { "id": "408145", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~a.marcone], Did you follow up with Mostafizur Rahman's guide? ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-02-28T17:01:22.000+0000", "updated": "2017-02-28T17:01:22.000+0000" }, { "id": "408148", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-28T17:06:27.000+0000", "updated": "2017-02-28T17:06:27.000+0000" }, { "id": "409303", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, Please update on your current progress. Is the issue still there?", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-03-06T14:28:10.000+0000", "updated": "2017-03-06T14:28:10.000+0000" }, { "id": "438756", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "I never gave any feedback, but the problem is still happening with the same library.\r\n\r\n[TRACE] : ** BUILD SUCCEEDED **\r\n[INFO] : Finished building the application in 28s 131ms\r\n[INFO] : Installing app on device: iPad\r\n[ERROR] : An error occurred during build after *6m 52s 576ms*\r\n[ERROR] : Failed to install app on device (0xe800002d)\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\r\nJust to recap the problem:\r\n\r\n- We follow the [steps|https://github.com/PSPDFKit/Appcelerator-iOS#how-to-build] to build and install the module\r\n- We run an empry project.\r\n\r\n\r\n\r\n", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-06-27T11:07:24.000+0000", "updated": "2018-06-27T11:07:24.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }