How to display Xcode code coverage when is not displaing?

yo2bh picture yo2bh · Nov 7, 2017 · Viewed 7.9k times · Source

I have been trying to get the code coverage for my project using Xcode 9. All test cases run successfully but did not generate the code coverage report under the Code coverage tab.

I tried the following things:

  1. Enable the Gather code coverage in the scheme.

  2. Enable Code Coverage Support for my target.

  3. Enable the Showcase bundle option.

    Is there an extra setting require to check the code coverage report ? or should I miss something? Thanks in advance.

Answer

krishnendra picture krishnendra · May 31, 2018

Issue Resolve in Version 9.3, to get the code coverage Target -> Test -> Options -> CodeCoverage See image:

image