{ "id": "151942", "key": "TIMOB-19715", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-13T20:59:21.000+0000", "created": "2015-10-11T18:38:49.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2015-10-16T18:52:41.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": "An iOS 8.4 Simulator crashes when using 5.1.0 CI, likely due to {{Ti.UI.iOS.ApplicationShortcuts}} implementation.\r\n\r\n*Code*\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\nwin.open();\r\n{code}\r\n\r\n*Console* (see attached crash log)\r\n\r\n{code}\r\n-- Start simulator log -------------------------------------------------------\r\n[INFO] Application started\r\n[DEBUG] Reading stylesheet from: /Users/fokkezb/Library/Developer/CoreSimulator/Devices/874E9320-F223-4096-8A88-626703886ACB/data/Containers/Bundle/Application/5F2D4264-9CB7-44AC-8543-27524DA3242C/windows.app/stylesheet.plist\r\n[TRACE] [ioslib] Detected crash, but no crash file\r\n-- End simulator log ---------------------------------------------------------\r\n{code}\r\n\r\nThe crash log points to:\r\nhttps://github.com/appcelerator/titanium_mobile/blob/c2f83a627787ea90e936545ecd77f784f1109199/iphone/Classes/TiApp.m#L415-L421\r\n\r\nSo probably we need a device OS version check as well there. After this has been fixed it needs another test round to see if we haven't got similar code elsewhere.", "attachment": [ { "id": "56971", "filename": "log.crash", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-12T07:17:55.000+0000", "size": 64116, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "SDK 5.1.0.CI crashed when run on iOS 8.4", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 5.1.0.v20151009094506\r\niOS Simulator 8.4", "comment": { "comments": [ { "id": "366467", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I would suggest using the [Ti.UI.iOS.forceTouchSupported|http://appcelerator.github.io/appc-docs/latest/#!/api/Titanium.UI.iOS-property-forceTouchSupported] property and maybe update the docs to use this one. Cool?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-10-12T04:43:26.000+0000", "updated": "2015-10-12T04:43:26.000+0000" }, { "id": "366482", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Attached crash log", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-12T07:17:59.000+0000", "updated": "2015-10-12T07:17:59.000+0000" }, { "id": "366483", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~hansknoechel] updated the ticket.. it's even happening if you don't use the APIs. It's an implementation error.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-12T07:21:16.000+0000", "updated": "2015-10-12T07:21:16.000+0000" }, { "id": "366610", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Verified fixed using https://github.com/appcelerator/titanium_mobile/pull/7290 with https://github.com/appcelerator-developer-relations/appc-sample-3dtouch which now uses {{Ti.UI.iOS.forceTouchSupported}} and no longer crashes even when the APIs are not used.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-13T07:41:15.000+0000", "updated": "2015-10-13T07:41:15.000+0000" }, { "id": "366700", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR (master): https://github.com/appcelerator/titanium_mobile/pull/7290\r\nPR (5_1_X): https://github.com/appcelerator/titanium_mobile/pull/7298", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-10-13T20:49:51.000+0000", "updated": "2015-10-13T20:49:51.000+0000" }, { "id": "367019", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, build a project using the latest 5.1.0 SDK ( 5.1.0.v20151014101225 ) with iOS 8.4 as the target launches successfully.\r\n\r\nOSX El Capitan 10.11\r\nStudio: 4.3.1.201509302304\r\nTi SDK: 5.1.0.v20151014101225\r\nAppc NPM: 4.2.1-1\r\nAppc CLI: 5.0.4-2\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2015-10-16T18:52:32.000+0000", "updated": "2015-10-16T18:52:32.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }