Jan ATAC
Jan ATAC

Reputation: 1262

No coverage data after configuring Test Scheme

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

Answers (1)

Jan ATAC
Jan ATAC

Reputation: 1262

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

Related Questions