XCode 7: Coverage not working in static library project

I started a new project for a static libary today and enabled coverage in the scheme options. However when I ran some basic tests, the coverage reports only showed coverage for the test classes. Not the classes in the static library.


Is this a bug or by design?

I'm having the same problem and haven't yet found a resolution.

Make sure "Build Active Architecture Only" is set to YES.

"Build Active Architecture Only" is set to YES for me on my main target and on a dependent static library but I still don't get any coverage data on the code from my static library. I only get coverage data on files from my main target.

Have the same exact issue.


Anyone opened a radar for this?

have the same trouble.

Are you solved it now?

XCode 7: Coverage not working in static library project
 
 
Q