Faced this issue while upgrading a project to use Xcode 15. Turns out it was failing because it had a cocoa pod dependency built with Xcode 14.0 that it didn't like, for some reason. Pulling in the dependency as a source pod fixed the coverage generation and pulling in the pod built with Xcode 15 fixed it as well.
Hopefully that helps some people!