Code Coverage in Xcode 7

Remember to set the Build Flag Build Active Architecture Only to Yes in your Debug configuration for the target you want to test. Otherwise Xcode will not generate a code coverage report in your test target.

This information is currently missing in the official documentation.

(https://developer.apple.com/library/prerelease/ios/documentation/ToolsLanguages/Conceptual/Xcode_Overview/CheckingCodeCoverage.html)