{ "id": "176122", "key": "TIMOB-28392", "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": "2021-03-13T13:54:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "21050", "name": "Release 10.0.0", "archived": false, "released": true, "releaseDate": "2021-05-17" } ], "issuelinks": [], "assignee": null, "updated": "2021-03-13T14:02:27.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": "Since a while, the Titanium source project runs a [\"scons.js\"|https://github.com/appcelerator/titanium_mobile/blob/master/build/scons-xcode-project-build.js] on every build step, which is (a) slowing down the build {{*}} and (b) causing a build failure every 2nd time:\r\n{code}\r\nCodeSign /Users/user/Library/Developer/Xcode/DerivedData/Titanium-gvpsqrupwkgnlndxeebdrcxjaktk/Build/Products/Debug-iphonesimulator/Titanium.app/Frameworks/TitaniumKit.framework (in target 'Titanium' from project 'Titanium')\r\n cd /Users/user/Documents/dev/titanium/titanium_mobile/iphone/iphone\r\n export CODESIGN_ALLOCATE\\=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate\r\n \r\nSigning Identity: \"-\"\r\n\r\n /usr/bin/codesign --force --sign - --timestamp\\=none --preserve-metadata\\=identifier,entitlements,flags /Users/user/Library/Developer/Xcode/DerivedData/Titanium-gvpsqrupwkgnlndxeebdrcxjaktk/Build/Products/Debug-iphonesimulator/Titanium.app/Frameworks/TitaniumKit.framework\r\n\r\n/Users/user/Library/Developer/Xcode/DerivedData/Titanium-gvpsqrupwkgnlndxeebdrcxjaktk/Build/Products/Debug-iphonesimulator/Titanium.app/Frameworks/TitaniumKit.framework: bundle format unrecognized, invalid, or unsuitable\r\nCommand CodeSign failed with a nonzero exit code\r\n{code}\r\n\r\nThis is a regression from earlier versions. Not sure when this was broken, but Chris changed a lot last year for the macOS support.\r\n\r\n{{*}} The build time on a recurring build is 500ms without the scons script and 6-8s with it. This is really bad, especially when no JS or resources changed at all, which is the normal case for native app debugging", "attachment": [], "flagged": false, "summary": "iOS: Building the source .xcodeproj fails every 2nd time", "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 } } }