使用XCode 4生成代码覆盖率数据需要什么 [英] What is required to generate code coverage data using XCode 4
本文介绍了使用XCode 4生成代码覆盖率数据需要什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I am obviously missing something as there are no .gcno or .gcda files being generated along side my object files. I've tried adding the settings to both my test target and my application target but to no avail. I've had a second set of eyes go over things and all appears to be in order. Any ideas as to what is missing. Thanks in advance.
推荐答案
不适用于llvm-gcc;您需要使用"LLVM Compiler 3.0"(又名clang). (我通过'llvm-gcc'标签假定您当前未使用它.)
It doesn't work with llvm-gcc; you'll need to use the "LLVM Compiler 3.0" (aka clang). (I assume by the 'llvm-gcc' tag that you're not currently using it.)
我上周才这样做,所以肯定可以.
I did this just last week, so it's definitely working.
这篇关于使用XCode 4生成代码覆盖率数据需要什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文