{ "id": "175535", "key": "TIMOB-28130", "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": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-09-16T13:04:10.000+0000", "created": "2020-09-13T19:43:40.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "21051", "description": "", "name": "Release 9.2.0", "archived": false, "released": true, "releaseDate": "2020-09-23" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2020-09-16T13:04:10.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": "There is an issue with incremental builds on Xcode 12 / iOS 14:\r\n{code}\r\n[TRACE] /myproject/build/iphone/Classes/TiUtils+Addons.swift:10:8: error: no such module 'TitaniumKit'\r\n[TRACE] import TitaniumKit\r\n[TRACE] ^\r\n[...]\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler\r\n[ERROR] CompileSwift normal x86_64 /myproject/build/iphone/Classes/TiUtils+Addons.swift\r\n[ERROR] (2 failures)\r\n{code}\r\n\r\nIt seems like the new Swift support with {{TiUtils+Addons.swift}} (TIMOB-28062) causes the issue. It may also affect iOS 13 / Xcode 11.x, but I haven't tested that, yet.", "attachment": [], "flagged": false, "summary": "Xcode 12: Incremental builds not working", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 1206, "state": "closed", "name": "2020 Sprint 19", "startDate": "2020-09-14T20:01:00.000Z", "endDate": "2020-09-25T20:01:00.000Z", "completeDate": "2020-09-28T15:30:19.875Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "456870", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "From the logs it appears that in the \"Removing files\" build stage we're nuking the Titanium.framework directory under {{Products/Debug-iphoneos/}} which is then causing this error. I guess we need to unmark the file so it doesn't get removed", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-14T10:39:41.000+0000", "updated": "2020-09-14T10:39:41.000+0000" }, { "id": "456872", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/12046", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-09-14T12:39:23.000+0000", "updated": "2020-09-14T12:39:23.000+0000" }, { "id": "456891", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, waiting on Jenkins build and Ports.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-15T13:24:51.000+0000", "updated": "2020-09-15T13:24:51.000+0000" }, { "id": "456907", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*. Fix verified in SDK version {{9.2.0.v20200915123928}}, and {{9.3.0.v20200915132757}}.\r\n\r\n*Test and other information can be found at:*\r\nhttps://github.com/appcelerator/titanium_mobile/pull/12046", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-09-16T13:03:52.000+0000", "updated": "2020-09-16T13:04:03.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }