{ "id": "162768", "key": "TIMOB-23808", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18247", "name": "Hyperloop 2.0.0", "archived": false, "released": true, "releaseDate": "2016-10-18" }, { "id": "18334", "name": "hyperloop 1.2.8", "archived": false, "released": true, "releaseDate": "2017-02-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-07T14:23:00.000+0000", "created": "2016-08-23T20:23:45.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.5.0" ], "versions": [], "issuelinks": [ { "id": "52873", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "163587", "key": "TIMOB-23971", "fields": { "summary": "Hyperloop: iOS not working in 2.0.0 (regression)", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "52572", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "outwardIssue": { "id": "162772", "key": "TIMOB-23812", "fields": { "summary": "Hyperloop: UIColor type properties is not working with Xcode 8 beta ", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2018-08-06T17:49:37.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "10207", "name": "Tooling" } ], "description": "h4. Steps to reproduce:\r\n# Download the hyperloop sample application from [here|https://github.com/appcelerator/hyperloop-examples]\r\n# Import the sample application.\r\n# Run the application\r\n\r\nh4. Actual iOS 10 \r\n{noformat}\r\n[TRACE] : \"Use Legacy Swift Language Version\" (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax...] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.\r\n[ERROR] : Error details: \"Use Legacy Swift Language Version\" (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax...] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.\r\n{noformat}\r\nh4. Actual iOS 9.3\r\n{noformat}\r\n[ERROR] : An error occurred during build after 3s 167ms\r\n[ERROR] : the xcodebuild failed running from /Users/Josh/Documents/Appcelerator_Studio_Workspace/hyperloop-examples/Pods\r\n{noformat}\r\n\r\n\r\n\r\n\r\nh4. Expected\r\nNo error is shown and the application is built.\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Hyperloop: iOS - Example application not building with Xcode 8 because of Swift-Error", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Mac OSX El Capitan 10.11.6\r\n
Appc NPM: 4.2.7\r\nAppc CLI: 5.5.0-5\r\n
Ti SDK: 5.5.0.v20160822000355\r\nHyperloop: 1.2.6\r\nCocoapods: 1.0.1\r\nXcode 8 beta 6\r\nNode: v4.4.4", "closedSprints": [ { "id": 723, "state": "closed", "name": "2016 Sprint 20 Tooling", "startDate": "2016-09-29T14:46:17.458Z", "endDate": "2016-10-13T14:46:00.000Z", "completeDate": "2016-10-10T06:21:04.575Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "394902", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "To solve this specific issue, you just have to add this in appc.js:\r\n{code}\r\n\thyperloop: {\r\n\t\tios: {\r\n\t\t\txcodebuild: {\r\n\t\t\t\t/**\r\n\t\t\t\t * any flags available to be passed into the Xcode can be\r\n\t\t\t\t * included here to further customize the xcode build\r\n\t\t\t\t */\r\n\t\t\t\tflags: {\r\n\t\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS: 'foo=bar',\r\n\t\t\t\t\tSWIFT_VERSION: '2.3'\r\n\t\t\t\t},\r\n{code}\r\nAnd the hyperloop examples will build correctly. HOWEVER, every example here is returning a {{... is not a function}}. Mostly likely related to TIMOB-23812.\r\n\r\nh4. environment\r\nXcode 8 beta 6\r\ntitanium SDK latest master\r\nappc cli 5.5.0-5\r\nappc npm 4.2.7\r\n", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-08-31T08:43:58.000+0000", "updated": "2016-09-24T19:46:22.000+0000" }, { "id": "395210", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Talked with [~jvennemann] about this. We agreed that adding it automatically by the Hyperloop-CLI is the best way to solve this on the long-term perspective. Since we are already able to detect whether swift-sources are used in the project, we can hook it in there. Re-assigning to Jan.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-02T16:55:03.000+0000", "updated": "2016-09-02T16:55:03.000+0000" }, { "id": "395382", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Scheduling for Hyperloop 2.0.0 in the 6.0.0 timeframe. Shouldn't be too hard to detect swift-usage and adding the flag then.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-06T10:51:48.000+0000", "updated": "2016-09-06T10:51:48.000+0000" }, { "id": "397169", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Proof of concept: https://github.com/hansemannn/hyperloop.next/commit/4c09f3d081e68902dea55583558de10bc27b4511\r\n\r\nHowever, although I am able to inject the currently selected Swift version with {{xcrun swift -version}} and inject it into the pbx build-settings, it seems to be injected too late, so the error is still thrown. The value from the appc.js is already injected in {{hookXcodebuild}} so we might need to detect the swift-usage there already. I hope that helps for the correct PR.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-24T20:53:35.000+0000", "updated": "2016-09-24T20:53:35.000+0000" }, { "id": "397787", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Took your approach and resolved the async issues that were causing errors ;)\r\n\r\nPR (master): https://github.com/appcelerator/hyperloop.next/pull/81\r\n\r\nDoes this need a 1_2_X backport?", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-30T19:55:29.000+0000", "updated": "2016-09-30T19:55:29.000+0000" }, { "id": "397856", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~jvennemann] yes please. Do a 1.2.9 please. ", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-10-03T02:42:26.000+0000", "updated": "2016-10-03T02:42:26.000+0000" }, { "id": "397874", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Putting the review on hold, since this issue is blocked by TIMOB-23971.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-03T11:43:31.000+0000", "updated": "2016-10-03T11:43:31.000+0000" }, { "id": "398347", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR merged. [~jvennemann] Please do a 1.2.9 backport.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-07T14:22:53.000+0000", "updated": "2016-10-07T14:22:53.000+0000" }, { "id": "398514", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR for the 1_2_X branch: https://github.com/appcelerator/hyperloop.next/pull/84", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-10-10T18:53:21.000+0000", "updated": "2016-10-10T18:53:21.000+0000" }, { "id": "440245", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:49:37.000+0000", "updated": "2018-08-06T17:49:37.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }