Xcode9 code coverage not showing

I am trying to get code coverage for my project using Xcode 9 . All test cases are successfully executed, but do not generate a code coverage report on the Code Coverage tab.

I have tried the following things:

  • Enable Gather code coverage in the schema.
  • Enable code coverage support for my purpose.
  • Enable the Show case bundle option.

    Is additional configuration required to check the code coverage report? or should i miss something? Thanks in advance.

+8
ios ios-simulator code-coverage ios11 xcode9
source share
1 answer

Known error in Apple's skipped code address for user interface testing ( https://openradar.appspot.com/24006783 ).

Xcode version 9.3 beta (9Q98q) seems to be the decisive issue until Debug executable is included in the test circuit.

In the Xcode Test -> Info tab -> Debugger layout editor Test -> Info tab -> Debugger make sure that the Debug executable check box is not Debug executable .

Here is an example project for Bugreport # 24006783: https://github.com/vgorloff/Radar24006783

+4
source share

All Articles