{ "id": "172852", "key": "TIMOB-26721", "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": [], "resolution": null, "resolutiondate": null, "created": "2019-01-13T17:28:43.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-30T23:09:17.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": "[This PR|https://github.com/appcelerator/titanium_mobile/pull/8944] currently breaks iOS extension deployment: We are using an {{Action Extension}} which is written in Swift. When deploying it, the build is rejected because of containing a {{Frameworks/}} directory in the .appex bundle. \r\n\r\nInside it, the Swift standard libraries are added (because of [this line|https://github.com/appcelerator/titanium_mobile/pull/8944/files#diff-f430483233aa01af5b10df8390f9635dR3502]), which is invalid if your main target already contains Swift - like in our case. \r\n\r\nThe fix is to check if the main target already includes Swift and set the {{ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES}} flag of the extension to {{NO}}. We currently hardcoded the value to be unblocked, but eventually a quick PR setting and checking the {{hasSwiftFiles}} for the main target.", "attachment": [], "flagged": false, "summary": "iOS: Cannot deploy app extensions due to hardcoded Swift settings", "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, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }