We had this problem since Xcode 7 beta strong>, and this problem persists to this day with Xcode 7.1 .
Basically, we cannot enable code coverage in Xcode. In Xcode 6, this worked fine, but was interrupted with Xcode 7. At the end of the unit test run, we get endless console output saying:
profiling: /Users/<my path to app>/ObjectiveC.gcda: cannot merge previous GCDA file: corrupt arc tag (<some hex address>)
This result is repeated until the application crashes . I just donβt know why this is happening, and all attempts to fix this problem have failed (with the exception of disabling program threads and disabling code coverage). I even tried setting up the script build phase, which finds and cleans up previous code coverage files, but that didn't work either.
Has anyone figured this out?
source share