so the hot new feature in Xcode 7 is code coverage integrated within XCode - yaaay! With this new feature also comes Apple's new code coverage format .profdata
.
We need to display code coverage reports in Cobertura reports (loaded in Jenkins). Currently there is no way to convert .profdata
to Cobertura XML report (it is on its way however).
Until then, we need to rely on the "old" gcov. For some unknown reason XCode 7 generates .gcno and .gcda, BUT when you let gcovr
to create the Cobertura reports it shows 0% coverage for all files (we surely have some coverage).
We tried to go back to XCode 6.4 and the generated gcov files shows the right coverage when run through gcovr
.
Is anyone experiencing the same problem? Any possible solutions?