{ "id": "172696", "key": "TIMOB-26628", "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": "20429", "name": "Release 7.5.1", "archived": false, "released": true, "releaseDate": "2019-02-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2018-12-05T20:06:00.000+0000", "created": "2018-12-04T09:11:11.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "core", "defect", "ios", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-10T23:38:20.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": "When launching any app on iOS 11.0 specifically, the app crashes with the following exception:\r\n\r\n{code:java}\r\n[ERROR] The application has crashed with an uncaught exception 'NSInvalidArgumentException'.\r\n[ERROR] Reason:\r\n[ERROR] -[TiRootViewController setNeedsUpdateOfHomeIndicatorAutoHidden]: unrecognized selector sent to instance 0x102814e00\r\n[ERROR] Stack trace:\r\n[ERROR] 0 CoreFoundation 0x0000000182bc4d74 + 148\r\n[ERROR] 1 libobjc.A.dylib 0x00000001820d8528 objc_exception_throw + 56\r\n[ERROR] 2 CoreFoundation 0x0000000182bd2218 + 0\r\n[ERROR] 3 UIKit 0x000000018ca9e874 + 296\r\n[ERROR] 4 CoreFoundation 0x0000000182bca708 + 1380\r\n[ERROR] 5 CoreFoundation 0x0000000182ab035c _CF_forwarding_prep_0 + 92\r\n{code}\r\n\r\nThis is re-produceable using an empty app using 'ti create'.\r\n\r\nLaunches fine on iOS 10, iOS 11.2/11.4, and iOS 12+. Only crashes on iOS 11.0 as far as we can test.\r\n\r\nThis is quite an urgent issue for us, as it is blocking us from releasing a new version to the stores.\r\n", "attachment": [], "flagged": false, "summary": "iOS 11.0: App crashes on launch", "creator": { "name": "jfinnigan", "key": "jfinnigan", "displayName": "Joe Finnigan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jfinnigan", "key": "jfinnigan", "displayName": "Joe Finnigan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 7.5.0.GA & 7.4.1.GA\r\nXCode 10.1\r\niPhone running iOS 11.0", "comment": { "comments": [ { "id": "444202", "author": { "name": "jfinnigan", "key": "jfinnigan", "displayName": "Joe Finnigan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think I've managed to patch this issue using the following in TiRootViewController.m\r\n\r\n{code:java}\r\n#if IS_XCODE_9\r\n if ([TiUtils isIOS11OrGreater]) {\r\n if ([self respondsToSelector:@selector(setNeedsUpdateOfHomeIndicatorAutoHidden)]) {\r\n [self setNeedsUpdateOfHomeIndicatorAutoHidden];\r\n }\r\n }\r\n{code}\r\n\r\nIt no longer crashes on iOS 11 and works on all our test devices we have here. Based on this fix: https://github.com/lionheart/openradar-mirror/issues/18762", "updateAuthor": { "name": "jfinnigan", "key": "jfinnigan", "displayName": "Joe Finnigan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-04T09:58:27.000+0000", "updated": "2018-12-04T09:58:27.000+0000" }, { "id": "444210", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~jfinnigan], Does this only occur on a physical device or do you know if it's specifically 11.0.0? I'm using an 11.0.1 simulator (it's the closest I can get from XCode), and can't reproduce the issue. I'll ask the team to try if they have an iOS 11.0.0 device", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-04T10:52:25.000+0000", "updated": "2018-12-04T10:52:53.000+0000" }, { "id": "444246", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10510", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-04T22:25:18.000+0000", "updated": "2018-12-04T22:25:18.000+0000" }, { "id": "444284", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10511", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-05T19:35:16.000+0000", "updated": "2018-12-05T19:35:16.000+0000" }, { "id": "444448", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.5.1.v20181210141225 & 8.0.0.v20181210140414.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-10T23:38:16.000+0000", "updated": "2018-12-10T23:38:16.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }