{ "id": "169866", "key": "AC-5224", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2017-09-22T13:07:15.000+0000", "created": "2017-09-22T07:16:04.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-09-22T13:07:15.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Creating an empty project and running the example provided:\r\n\r\nvar keychainItem = TouchID.createKeychainItem({\r\n...\r\n});\r\n\r\nkeychainItem.addEventListener('save', function(e) {\r\n Ti.API.info(e);\r\n});\r\n\r\nI get the error:\r\n\r\n[INFO] : {\r\n[INFO] : bubbles = 1;\r\n[INFO] : cancelBubble = 0;\r\n[INFO] : code = \"-34018\";\r\n[INFO] : error = \"-34018 (Code: -34018)\";\r\n[INFO] : source = \"[object TiTouchidKeychainItem]\";\r\n[INFO] : success = 0;\r\n[INFO] : type = save;\r\n[INFO] : }\r\n\r\n", "attachment": [ { "id": "63344", "filename": "Schermata 2017-09-22 alle 14.29.55.png", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-22T12:30:42.000+0000", "size": 54884, "mimeType": "image/png" } ], "flagged": false, "summary": "TiTouchID module: -34018 error when trying to save key", "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": "MacOS 10.12.6 (16G29)\r\nTi SDK 6.2.1.GA\r\nXcode 9.0 (9A235)", "comment": { "comments": [ { "id": "428319", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "The error suggests that you are missing entitlements, see [here|https://www.osstatus.com/search/results?platform=all&framework=all&search=34018] for more infos. Your entitlements need to have the {{keychain-access-groups}} entitlement included, although it usually should be injected by the module already.\r\n\r\nExample of the tiapp.xml:\r\n{code:xml}\r\n\r\n\r\n\tkeychain-access-groups\r\n\t\r\n\t\t$(AppIdentifierPrefix)com.yourteam.yourapp\r\n\t\r\n\r\n\r\n{code}\r\n\r\nPlease let us know which Ti.TouchID version you use and if possible, attach a quick sample project to reproduce. Did this not happen or prior SDK- and/or Xcode/iOS versions? This would help tremendously! \r\n\r\n*EDIT*: [This example project|https://www.dropbox.com/s/ibfjh8s1bg7m2li/touchidtest.zip?dl=0] works for me, please check it out.\r\n\r\nSee more here:\r\n- https://forums.developer.apple.com/thread/4743?tstart=0\r\n- https://stackoverflow.com/questions/38456471/secitemadd-always-returns-error-34018-in-xcode-8-in-ios-10-simulator\r\n- https://stackoverflow.com/questions/22082996/testing-the-keychain-osstatus-error-34018", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-22T09:31:37.000+0000", "updated": "2017-09-22T11:42:54.000+0000" }, { "id": "428329", "author": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you for your help.\r\nI decided to run it and read the complete error, and there it was:\r\n\r\n{code}\r\nCode=-34018 \"explicit accessGroup .com.xxx not in client access (\r\n \"6E5M3DGMBx.com.xxx\",\r\n \"6E5M3DGMBx.com.xxx\",\r\n \"com.apple.token\"\r\n)\"\r\n{code}\r\n\r\nI thought I had edited the identifier in the code, but apparently I didn't.\r\nThank you very much anyways.", "updateAuthor": { "name": "a.marcone", "key": "a.marcone", "displayName": "Alberto Marcone", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-22T12:40:13.000+0000", "updated": "2017-09-22T12:40:13.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }