I'm trying to get the code coverage for my unit tests (Xcode 4.2.1 (4D502) on Mac OS X Lion 10.7 (11A2061)), but somehow the .gcda files don't get created. I can see .d and .o files in .../Objects-normal/i386 folder of the unit test target, but the gcno/gcda files are missing for the files being unit tested, and hence I can't generate the coverage statistics for whats being tested.
On the main target, I do see .d, .o and .gcno files for every file.
So, I believe I have the project settings set up correctly, but there's a "small" something really missing for OS X Lion. I've tried the steps mentioned in http://code.google.com/p/coverstory/wiki/UsingCoverstory, but doesn't seem to have solved my problem.
Note: I was able to get this to work on Snow Leopard and view coverage statistics using CoverStory!!
Any solution/ direction in this regard would be highly helpful. Thanks!!