We spent a lot of time debugging this problem, but none of the suggestions we found helped.
We tried to update our Podfile with these settings:
config.build_settings['CLANG_ENABLE_CODE_COVERAGE'] = 'NO'
config.build_settings['swiftc'] = '$(SRCROOT)/SWIFT_EXEC-no-coverage'
In our project Instrument Program Flow & Generate Legacy Test Coverage build settings were already set to NO
We also tried to change Mach-O type for our cocoa pods dependencies to **static library ** and many other things.
it appears that one of our dependencies was a binary (xcframework), most probably distributed via older version of the XCode, after updating it coverage was back.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: