Unable to get code coverage of embedded framework from UI tests

I am using UI tests to test an embedded framework.

I have enabled 'gather code coverage' of both the app target and the framework target and used @testable import "my framework" in my test files.

After running all the UI tests on an iPhone 6s simulator, all the framework files have 0% code coverage while the app files have good coverage.

What are the steps to enable code coverage for frameworks or is this a bug?


Using Xcode 7.2.1

Did you ever figure out a solution to this?

Unable to get code coverage of embedded framework from UI tests
 
 
Q