Reputation: 1878
Is there any way to exclude files in XCode code coverage.
I did research and found some tools here - Exclude Files/Lines of code in Xcode 7 Code Coverage
But all these are third party tools. Is there any way we can do it in xcode it self??
Upvotes: 18
Views: 3906
Reputation: 3494
In Xcode 10.0, you can only exclude complete targets, not individual files.
Here's how to do it: Edit Scheme -> Test -> Options
:
Upvotes: 2