1)添加一个Build configuration,如下图,info -> configuration -> click ‘+’ -> duplicate “debug” configuration -> 起一个名字比如“gvoc”;
2)Gvoc的code coverage的build setting
Compiler for C/C++/Objective-C = Apple LLVM
Generate Debug Symbols = YES
Generate Test Coverage Files = YES
Instrument Program Flow = YES