XCode 5.1 Unit Test Coverage Analysis Fails On Files Using Blocks

前端 未结 4 1407
醉话见心
醉话见心 2020-12-13 02:46

Today I was tasked with adding unit test coverage analysis to our code base. Today is also the day iOS 7.1 is released along with XCode 5.1. From the release notes:

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 03:48

    For anyone new to this thread, note that lcov-1.11 is out. This eliminates the issue with gcov -v compatibility. However, I am using XCode 6.1 and still getting errors on some files.

    geninfo: WARNING: /Users/XXX/MyFile.gcno: found unrecognized record format - skipping

    Note that you can add --ignore-errors graph to skip over these errors, but the problem isn't really solved.

提交回复
热议问题