{ "id": "174233", "key": "AC-6399", "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": "2019-12-30T16:24:55.000+0000", "created": "2019-10-08T14:52:54.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "58248", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "174793", "key": "AC-6501", "fields": { "summary": "App Crashes when requesting location", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2020-03-06T19:10:23.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": "Appcelerator Command-Line Interface, version 7.1.1\r\n\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14.6\r\n Architecture = 64bit\r\n # CPUs = 12\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 10.15.3\r\n npm Version = 6.4.1\r\nTitanium CLI\r\n CLI Version = 5.2.1\r\nTitanium SDK\r\n SDK Version = 8.2.0.GA\r\n\r\n\r\nRepro Steps:\r\n\r\n1. Open up the application\r\n2. Make a call to location services, app will crash with this error\r\n\r\nInvalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient) || _CFMZEnabled()\r\n\r\n\r\nThis crash will go away if I add location to the BackgroundMode...however apple fails my app from review with this setting on\r\n\r\nAny ideas?", "attachment": [], "flagged": false, "summary": "App Crashes when requesting location", "creator": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "451940", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "See discussion at https://forums.developer.apple.com/thread/36745, if it helps you.", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-09T20:13:39.000+0000", "updated": "2019-10-09T20:13:39.000+0000" }, { "id": "451943", "author": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@vijay...This article does not help...the crash is coming from the SDK and crashing the app", "updateAuthor": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-09T21:32:41.000+0000", "updated": "2019-10-09T21:32:41.000+0000" }, { "id": "451956", "author": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any updates on this?", "updateAuthor": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-10T13:58:32.000+0000", "updated": "2019-10-10T13:58:32.000+0000" }, { "id": "451962", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~peterladis] \r\n1. Please share a test case and steps to reproduce the issue. We'll look in this.\r\n2. What was apples' comment to reject the app?\r\n3. I believe that you have used property permission keys in tiapp.xml.\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-10T17:29:12.000+0000", "updated": "2019-10-10T17:29:12.000+0000" }, { "id": "451968", "author": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "with background location OFF...this is the error\r\n\r\n[ERROR] \b\b \bThe application has crashed with an uncaught exception 'NSInternalInconsistencyException'.\r\n\r\n[ERROR] \b\b \bReason:\r\n\r\n[ERROR] \b\b \bInvalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)\r\n\r\n[ERROR] \b\b \bStack trace:\r\n\r\n[ERROR] \b\b \b0 CoreFoundation 0x00000001109286fb __exceptionPreprocess + 331\r\n\r\n[ERROR] \b\b \b1 libobjc.A.dylib 0x000000010fbbaac5 objc_exception_throw + 48\r\n\r\n[ERROR] \b\b \b2 CoreFoundation 0x0000000110928482 +[NSException raise:format:arguments:] + 98\r\n\r\n[ERROR] \b\b \b3 Foundation 0x000000010c9f2927 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194\r\n\r\n[ERROR] \b\b \b4 CoreLocation 0x000000010b832bae CLClientStopVehicleHeadingUpdates + 26015\r\n\r\n[ERROR] \b\b \b5 LilyPad 0x0000000109ab10d7 -[GeolocationModule locationManager] + 1111\r\n\r\n[ERROR] \b\b \b6 LilyPad 0x0000000109ab1568 -[GeolocationModule startStopLocationManagerIfNeeded] + 312\r\n\r\n[ERROR] \b\b \b7 LilyPad 0x0000000109ab2362 -[GeolocationModule getCurrentPosition:] + 754\r\n\r\n[ERROR] \b\b \b8 CoreFoundation 0x000000011092f4cc __invoking___ + 140\r\n\r\n[ERROR] \b\b \b9 CoreFoundation 0x000000011092ca45 -[NSInvocation invoke] + 325\r\n\r\n[ERROR] \b\b \b10 JavaScriptCore 0x000000010a48eaf8 _ZN3JSC24ObjCCallbackFunctionImpl4callEP9JSContextP13OpaqueJSValuemPKPKS3_PS6_ + 440\r\n\r\n[ERROR] \b\b \b11 JavaScriptCore 0x000000010a48e52c _ZN3JSCL34objCCallbackFunctionCallAsFunctionEPK15OpaqueJSContextP13OpaqueJSValueS4_mPKPKS3_PS6_ + 236\r\n\r\n[ERROR] \b\b \b12 JavaScriptCore 0x000000010a48dddc _ZN3JSC19APICallbackFunction4callINS_20ObjCCallbackFunctionEEExPNS_9ExecStateE + 492\r\n\r\n[ERROR] \b\b \b13 ??? 0x00004d5bffa0102d 0x0 + 85057526042669\r\n\r\n[ERROR] \b\b \b14 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b15 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b16 JavaScriptCore 0x000000010a47928d llint_entry + 63482\r\n\r\n[ERROR] \b\b \b17 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b18 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b19 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b20 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b21 JavaScriptCore 0x000000010a47928d llint_entry + 63482\r\n\r\n[ERROR] \b\b \b22 JavaScriptCore 0x000000010a47928d llint_entry + 63482\r\n\r\n[ERROR] \b\b \b23 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b24 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b25 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b26 JavaScriptCore 0x000000010a478b71 llint_entry + 61662\r\n\r\n[ERROR] \b\b \b27 JavaScriptCore 0x000000010a4698d9 vmEntryToJavaScript + 200\r\n\r\n[ERROR] \b\b \b28 JavaScriptCore 0x000000010a84f730 _ZN3JSC11Interpreter11executeCallEPNS_9ExecStateEPNS_8JSObjectENS_8CallTypeERKNS_8CallDataENS_7JSValueERKNS_7ArgListE + 464\r\n\r\n[ERROR] \b\b \b29 JavaScriptCore 0x000000010aa94634 _ZN3JSC12profiledCallEPNS_9ExecStateENS_15ProfilingReasonENS_7JSValueENS_8CallTypeERKNS_8CallDataES3_RKNS_7ArgListE + 196\r\n\r\n[ERROR] \b\b \b30 JavaScriptCore 0x000000010a4b46fe JSObjectCallAsFunction + 478\r\n\r\n[ERROR] \b\b \b31 TitaniumKit 0x000000010f46933f __65-[KrollObject invokeCallbackForKey:withObject:thisObject:onDone:]_block_invoke + 477\r\n\r\n[ERROR] \b\b \b32 libdispatch.dylib 0x0000000112c48ccf _dispatch_call_block_and_release + 12\r\n\r\n[ERROR] \b\b \b33 libdispatch.dylib 0x0000000112c49d02 _dispatch_client_callout + 8\r\n\r\n[ERROR] \b\b \b34 libdispatch.dylib 0x0000000112c55a50 _dispatch_main_queue_callback_4CF + 1276\r\n\r\n[ERROR] \b\b \b35 CoreFoundation 0x000000011088f8a9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n\r\n[ERROR] \b\b \b36 CoreFoundation 0x0000000110889f56 __CFRunLoopRun + 2310\r\n\r\n[ERROR] \b\b \b37 CoreFoundation 0x0000000110889302 CFRunLoopRunSpecific + 626\r\n\r\n[ERROR] \b\b \b38 GraphicsServices 0x00000001165492fe GSEventRunModal + 65\r\n\r\n[ERROR] \b\b \b39 UIKitCore 0x000000011b073ba2 UIApplicationMain + 140\r\n\r\n[ERROR] \b\b \b40 LilyPad 0x0000000109905941 main + 1041\r\n\r\n[ERROR] \b\b \b41 libdyld.dylib 0x0000000112cb7541 start + 1\r\n\r\n[ERROR] \b\b \b42 ??? 0x0000000000000001 0x0 + 1\r\n", "updateAuthor": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-10T19:25:20.000+0000", "updated": "2019-10-10T19:25:20.000+0000" }, { "id": "452623", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~peterladis], Please provide the information that Vijay asked. We will be testing the issue on our end. Thank you.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2019-11-13T01:56:53.000+0000", "updated": "2019-11-13T01:56:53.000+0000" }, { "id": "453292", "author": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello! [~peterladis] are you still having this issue with the latest Ti SDK 8.2.1.GA, 8.3.0.GA? If so please share a test case and steps to reproduce the issue. If your app is rejected by Apple then what was apple's comment to reject the app?\r\n\r\nRegards,\r\nMotiur Rahman", "updateAuthor": { "name": "morahman", "key": "morahman", "displayName": "Motiur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2019-12-23T16:25:24.000+0000", "updated": "2019-12-23T16:25:24.000+0000" }, { "id": "454585", "author": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FYI..this is still happening and apple sometimes rejects my app if I put location as a UIBackGround option in the plist\r\n\r\nAny ideas", "updateAuthor": { "name": "peterladis", "key": "peterladis", "displayName": "Peter Ladis", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-03-06T19:10:11.000+0000", "updated": "2020-03-06T19:10:11.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }