Xcode 7 GCDA damaged arc tag

When I run unit test in Xcode 7, I get below the error.

cannot merge previous GCDA file: corrupt arc tag 

In my script run, I run the code below in the current and derived directory to delete all the GCDA files

find . -name "*.gcda" -print0 | xargs -0 rm

In my post script, I am using gcovr to generate a coverage report.

Some other forums mention turning on the settings below for the main purpose and turning them off for testing purposes.

Enable support for YES code coverage. Generate outdated test materials to answer questions


. Instrument program flow to YES

But that did not work for me.

+4
source share

Source: https://habr.com/ru/post/1609403/


All Articles