You do not need to enable * libprofile_rt.dylib * and use the * -profile_rt * flag when starting a project in xCode 4.4.1 (works with iOS Simulator as a charm) Just set these flags:
Create test coverage materials: YES Instrument program flow: YES Build and run. If you run the test object of your application, * .gcda files are created automatically, since the tested application terminates, if you run the usual target, the * .gcda files are created when your application is explicitly closed (another approach is to set UIApplicationExitsOnSuspend = YES to. plist)
Note that it was well tested in a new project created using xCode 4.4.1
Code coverage files will be displayed in /Build/Intermediates/.build//. build / Objects-normal /
Vijay source share