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'
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With