Reputation: 1262
I enabled code coverage by selecting Test in the scheme and enabled the checkbox labeled Gather Code Coverage.
But for some reason, the coverage tab shows 'No coverage data'
Upvotes: 3
Views: 1275
Ok, I found the reason : Make sure your target has “Build Active Architecture Only” set to “Yes”. If the target is building for more than one architecture no test coverage data will be generated.
source
Upvotes: 2