code coverage broken 0% since Xcode 16.2

Hi, moving from Xcode 16.1 to 16.2, the code coverage percentage is still 0.

The project is quite old, but it worked with 16.1.

What I tried:

  • converted the old tests to test plans in the settings, including all the various targets (for internal functionality contained in frameworks, each framework has its own test target).
  • added the various code coverage flags to YES.
  • added test hosts to the main targets.
  • played with various settings found in dozens of guides.

But nothing. The main app shows 0% coverage, even though the internal frameworks have their own coverage and the files within the main app are tested.

On Xcode 16.1, the % appears, but from 16.2 onwards, it doesn't.

Also tried with Xcode 26.

Any ideas?

Thanks

code coverage broken 0% since Xcode 16.2
 
 
Q