I'm trying to set up code coverage in Xcode 4.5. To do so, I turned on Generate Test Coverage Files and Instrument Program Flow for debug setting. According to http://meandmark.com/blog/2012/08/xcode-4-generating-code-coverage-files-with-llvm/ that's all you need. However, now the linker complains that it can't find:
- _llvm_gcda_emit_arcs
- _llvm_gcda_emit_function
- _llvm_gcda_end_file
- _llvm_gcda_increment_indirect_counter
- _llvm_gcda_start_file
I tried to find libprofile_rt.dylib, but it doesn't seem to exist anymore. What else is needed to generate code coverage files?