{ "id": "173066", "key": "TIMOB-26864", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": [], "resolution": null, "resolutiondate": null, "created": "2019-02-26T20:18:23.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "engTriage" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-06-18T13:57:15.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "With SDK 8.0.0 we now support writing native module with Swift. This is great, however, there are a few regressions in the developing experience compared to ObjC modules.\r\n\r\nSince we don't have any Swift source files in our core yet the Swift standard libraries are not embedded by default and it needs to be done explicitly right now to support third-party frameworks. This is currently done through a simple [hook|https://github.com/appcelerator/titanium_mobile/blob/e15980ad3066fa6d50abb6ddb7ce725cd9659759/iphone/templates/module/swift/template/ios/hooks/ti.swiftsupport.js] for both Swift native modules as well as Hyperloop.\r\n\r\nNow, the requirement for this hook prevents quick testing of module changes by building a module and then launching the example. Running {{ti build -p ios}} will crash the example on startup because the above hook is not active when doing this workflow. Users currently have to do a build only run with {{ti build -p ios -b}}, then extract and copy the module into a test app to verify changes. This a time consuming task and needs to be improved.", "attachment": [], "flagged": false, "summary": "Drop requirement for extra hook to support Swift native modules and frameworks", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1119, "state": "closed", "name": "2019 Sprint 6", "startDate": "2019-03-03T22:20:00.193Z", "endDate": "2019-03-15T22:20:00.000Z", "completeDate": "2019-03-18T17:26:43.120Z", "originBoardId": 114 } ], "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }