{ "id": "174111", "key": "MOD-2536", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-09-10T09:34:17.000+0000", "created": "2019-09-09T15:20:42.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20887", "name": "Release 8.2.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": null, "updated": "2019-09-10T09:34:17.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": "13806", "name": "Core Motion" } ], "description": "When using the example in {{ti.coremotion}} and when trying to use the pedometer or Motion Activity the following errors can be seen:\r\n\r\n*Pedometer:*\r\n{code:java}\r\n[INFO] : startPedometerUpdates\r\n[DEBUG] : ACA crash.report: {\r\n[DEBUG] : message = \"signal error code: 6\";\r\n[DEBUG] : meta = {\r\n[DEBUG] : handled = 0;\r\n[DEBUG] : };\r\n[DEBUG] : stack = (\r\n[DEBUG] : \"TitaniumKit 0x0000000103450664 TiSignalHandler + 148\\nlibsystem_platform.dylib 0x0000000198f12884 7B36A220-D054-3F91-BFAE-216E2D2361B8 + 34948\\nlibsystem_kernel.dylib 0x0000000198ffef1c C742C945-13ED-3043-AD96-B881E99CC9AD + 163612\\nlibsystem_kernel.dylib 0x0000000198ffef4c C742C945-13ED-3043-AD96-B881E99CC9AD + 163660\\nTCC 0x000000019f2dbe2c FB1B10ED-D357-3D84-B27E-C00276974EDA + 7724\\nTCC 0x000000019f2dbd6c FB1B10ED-D357-3D84-B27E-C00276974EDA + 7532\\nTCC 0x000000019f2dfbac FB1B10ED-D357-3D84-B27E-C00276974EDA + 23468\\nlibxpc.dylib 0x0000000198ddddc8 2293A347-305F-36B1-8102-88378F3A1E9D + 97736\\nlibxpc.dylib 0x0000000198dd205c 2293A347-305F-36B1-8102-88378F3A1E9D + 49244\\nlibsystem_pthread.dylib 0x0000000198f20fe0 _pthread_wqthread + 332\"\r\n[DEBUG] : );\r\n[DEBUG] : }\r\n{code}\r\n\r\n*Motion Activity:*\r\n{code:java}\r\n[INFO] : startActivityUpdates(cb): see device log\r\n[DEBUG] : ACA crash.report: {\r\n[DEBUG] : message = \"signal error code: 6\";\r\n[DEBUG] : meta = {\r\n[DEBUG] : handled = 0;\r\n[DEBUG] : };\r\n[DEBUG] : stack = (\r\n[DEBUG] : \"TitaniumKit 0x0000000103158664 TiSignalHandler + 148\\nlibsystem_platform.dylib 0x0000000198f12884 7B36A220-D054-3F91-BFAE-216E2D2361B8 + 34948\\nlibsystem_kernel.dylib 0x0000000198ffef1c C742C945-13ED-3043-AD96-B881E99CC9AD + 163612\\nlibsystem_kernel.dylib 0x0000000198ffef4c C742C945-13ED-3043-AD96-B881E99CC9AD + 163660\\nTCC 0x000000019f2dbe2c FB1B10ED-D357-3D84-B27E-C00276974EDA + 7724\\nTCC 0x000000019f2dbd6c FB1B10ED-D357-3D84-B27E-C00276974EDA + 7532\\nTCC 0x000000019f2dfbac FB1B10ED-D357-3D84-B27E-C00276974EDA + 23468\\nlibxpc.dylib 0x0000000198ddddc8 2293A347-305F-36B1-8102-88378F3A1E9D + 97736\\nlibxpc.dylib 0x0000000198dd205c 2293A347-305F-36B1-8102-88378F3A1E9D + 49244\\nlibsystem_pthread.dylib 0x0000000198f20fe0 _pthread_wqthread + 332\"\r\n[DEBUG] : );\r\n[DEBUG] : }\r\n{code}\r\n\r\n*Test Steps*\r\n# Create a new Titanium application \r\n# Add the {{ti.coremotion}} module in to the project\r\n# Copy the example code from the module into the project\r\n# Run the app\r\n# Click {{startPedometerUpdates}} or {{startActivityUpdates}} (depending on what you are testing)\r\n\r\n*Expected result*\r\n{{startPedometerUpdates}} or {{startActivityUpdates}} should start updating \r\n\r\n*Actual result*\r\nAbove errors are thrown\r\n", "attachment": [], "flagged": false, "summary": "iOS: ti.coremotion throws an error when trying to start the pedometer or Motion Activity", "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": "Operating System\r\n Name = Mac OS X\r\n Version = 10.14.4\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 8.11.3\r\n npm Version = 5.6.0\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.15-1\r\n Core Package = 7.1.1\r\n\r\nTitanium CLI\r\n CLI Version = 5.2.1\r\n node-appc Version = 0.2.49\r\n", "comment": { "comments": [ { "id": "451253", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, [~kmahalingam] adding {{NSMotionUsageDescription}} fixed the above issue.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-09-10T09:34:10.000+0000", "updated": "2019-09-10T09:34:10.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }