{ "id": "174772", "key": "TIMOB-27783", "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": "2020-02-28T20:10:44.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" }, { "id": "20972", "description": "", "name": "Release 8.3.1", "archived": false, "released": true, "releaseDate": "2020-01-17" } ], "issuelinks": [], "assignee": null, "updated": "2020-05-27T15:42:32.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": "Compiling an iOS app with a watchOS app included forces a full rebuild every time. The reason is a file which seems to be either rewritten every time or not properly added to the build index:\r\n{code}\r\n[INFO] Forcing rebuild: build/iphone/extensions/MyAppWatchApp/WatchApp/WatchApp.entitlements has changed since last build\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Compiling app with watchOS app included forces rebuild every 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": [ { "id": "454476", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I quickly tried to reproduce by doing a sim and device build, but I don't see any entitlements file in my watch app or ext directory (in the build dir). Does your watch app have its own custom entitlements file?\r\n\r\nI'm curious if you could make a backup of that file, run another build, then diff the two to see what changed. Maybe a timestamp?", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2020-02-28T22:17:50.000+0000", "updated": "2020-02-28T22:17:50.000+0000" }, { "id": "455483", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi Chris, sorry for the delayed reply! It's the same file, but it seems like the build flushes / rewrites it to disk. I think you also have access to our project on Github, so could you maybe try it out there? It becomes worse every day with incremental builds being broken, so I hope this can be prioritized at some point. Thank you!", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-05-17T08:12:07.000+0000", "updated": "2020-05-17T08:12:07.000+0000" }, { "id": "455564", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "There is a simple workaround for now: Make sure that your .{{entitlements}} files *DO NOT* contain new lines at the end. Xcode may add them automatically after you edit the file. Just remove them with another Editor and the incremental build is happy again.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-05-27T15:42:32.000+0000", "updated": "2020-05-27T15:42:32.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }