{ "id": "172780", "key": "TIMOB-26672", "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": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-01-03T16:18:29.000+0000", "created": "2018-12-20T15:21:51.000+0000", "epic": { "id": 152521, "key": "TIMOB-19834", "name": "Support ES6 for Titanium Application Development", "summary": "Support ES6 for Titanium Application Development", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-01-03T16:23:04.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": "h5.Description\r\n\r\nRunning a default application to iOS 9 crashes on launch with the below (this isn't logged either fwiw). This looks to be down to the usage of {{const}}, if I change addBinding to be declared with {{var}} it works, if I enable transpilation it work. I will investigate this further as there is usage of const/let throughout the new os/path code so I assume they will error.\r\n\r\n{code}\r\n/ti.main.js:33\r\nconst addBinding = require('./ti.internal/extensions/binding');\r\n^\r\n(null)\r\n(null)\r\n\r\n4 TitaniumKit0x0000000109a7b34c -[KrollBridge evalFile:callback:selector:] + 55\r\n5 TitaniumKit0x0000000109a7bd0d -[KrollBridge didStartNewContext:] + 1805\r\n6 TitaniumKit0x0000000109ab340e -[KrollContext main] + 1084\r\n7 libdispatch.dylib 0x000000010be05c89 _dispatch_call_block_and_release + 12\r\n8 libdispatch.dylib 0x000000010be213d7 _dispatch_client_callout + 8\r\n9 libdispatch.dylib 0x000000010be0be5d _dispatch_main_queue_callback_4CF + 714\r\n10 CoreFoundation 0x000000010a4f40f9 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9\r\n11 CoreFoundation 0x000000010a4b5b99 __CFRunLoopRun + 2073\r\n12 CoreFoundation 0x000000010a4b50f8 CFRunLoopRunSpecific + 488\r\n13 GraphicsServices0x000000010c443ad2 GSEventRunModal + 161\r\n14 UIKit 0x0000000106359f09 UIApplicationMain + 171\r\n15 ticreateapp0x00000001047d9286 main + 950\r\n16 libdyld.dylib 0x000000010be5092d start + 1\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Create a default application\r\n# Build it for iOS 9 (sim or device", "attachment": [], "flagged": false, "summary": "iOS: Application crashes on launch on iOS9", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": null, "closedSprints": [ { "id": 1106, "state": "closed", "name": "2019 Sprint 1", "startDate": "2018-12-31T19:39:58.070Z", "endDate": "2019-01-11T19:39:00.000Z", "completeDate": "2019-01-14T17:17:47.552Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "444781", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "The usage of spread syntax and let/const (functions need to declare 'use strict' too) in path.js are causing errors.\r\nThe usage of let/const and arrow functions in os.js are causing errors.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2018-12-20T15:31:30.000+0000", "updated": "2018-12-20T15:31:30.000+0000" }, { "id": "444923", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator/titanium_mobile/pull/10555", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-01-02T15:33:05.000+0000", "updated": "2019-01-02T15:33:05.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }