{ "id": "160376", "key": "TIMOB-23416", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-05-25T07:07:19.000+0000", "created": "2016-05-20T06:02:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.4.0" ], "versions": [], "issuelinks": [], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-01T21:28:53.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": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "h4. Steps to reproduce\r\n1. *appc new --classic*\r\n2. include hyperloop module and plugin in local project\r\n3. update tiapp.xml with:\r\n{code}\r\n \r\n hyperloop\r\n \r\n \r\n hyperloop\r\n \r\n{code}\r\n4. *appc run -p ios*\r\n\r\nh4. Expected Result\r\napp builds and appears\r\n\r\nh4. Actual Result\r\napp crashes on launch\r\n\r\nNote: If you include the element in tiapp.xml, be it true or false, it will launch successfully.", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS: App crashes on startup when element non-existent", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 631, "state": "closed", "name": "2016 Sprint 11 SDK", "startDate": "2016-05-21T00:06:10.029Z", "endDate": "2016-06-04T00:06:00.000Z", "completeDate": "2016-06-06T07:30:39.854Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "386314", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Additional note, if the element is not in tiapp.xml, the log does show this:\r\n{code}\r\n[INFO] Add the following to your tiapp.xml section to enable or disable this:\r\n[INFO]\r\n[INFO] true\r\n[INFO]\r\n[INFO] Using Apple JavaScriptCore by default when not specified.\r\n{code}\r\nSo somewhere it's not setting it as default.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-20T06:04:36.000+0000", "updated": "2016-05-20T06:04:36.000+0000" }, { "id": "386319", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "The problem lies in, with or without hyperloop module, any titanium app created is by default, NOT using Apple Javascriptcore.\r\nReason being, currently our debugger and profiler is not compatible with Apple Javascriptcore. \r\n\r\nWhereas in hyperloop, it's saying that if it doesn't see {{}} in tiapp.xml, it will build ASSUMING JSCORE is setup in the titanium app. Therefore it crashes.\r\n\r\nThe solution (for now), is for hyperloop to assume the usage of TICORE by default instead of JSCORE if the element is missing, so that it's compatible with the app.\r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-20T08:19:28.000+0000", "updated": "2016-05-20T08:19:28.000+0000" }, { "id": "386322", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR here: https://github.com/appcelerator/hyperloop.next/pull/31\r\nRepeat the above steps using these 3 scenarios:\r\n1. no : you should see in the log \"using titanium javascriptcore as default\" and builds normally\r\n2. set to true : builds normally\r\n3. set to false : builds normally", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-20T08:38:43.000+0000", "updated": "2016-05-20T08:38:43.000+0000" }, { "id": "386331", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Left some CR comments, thanks!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-05-20T11:23:58.000+0000", "updated": "2016-05-20T11:23:58.000+0000" }, { "id": "389792", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed.
\r\nTested on:
\r\niPhone 6s Plus (9.3.1)\r\niOS Simulator (9.3)\r\n
Mac OSX El Capitan 10.11.5\r\nStudio: 4.7.0.201606220541\r\n
Ti SDK: 5.4.0.v20160629063537\r\n
Appc NPM: 4.2.7-2\r\nAppc CLI: 5.4.0-23\r\n
Xcode 7.3.1\r\nNode v4.4.4\r\n*
Closing Ticket.*", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2016-07-01T21:28:11.000+0000", "updated": "2016-07-01T21:28:11.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }