Post

Replies

Boosts

Views

Activity

Reply to XCode 13 Not reporting accurate test Covarage
We have been waiting for new Xcode 13.x releases, but the problem is still here with Xcode 13.2.1. I have tried to create a new dummy-project from scratch, and that project reports coverage correct in Xcode 13.2.1. I have tried to look through buildsettings in the dummy-project compared with the real projects we have, where coverage is not reported correct. But I have not been able to find the magic setting that is causing the failure of coverage. It would be nice if an Apple Engineer can shed some light on what settings to try to change, or maybe throw in other ideas on what to try to provide some useful logging (besides the errors already shared in here that seems to point to the Aggregation tool). Since a new project from scratch seems to work fine, it's not possible to upload a small sample project to demo the problem.
Dec ’21