Generating coverage data error

while use xcodebuild test-without-building -xctestrun


there is no coverage data generated, with the error below:


error: path/to/45F42511-08B3-471A-8E32-94D8BB314757-12770.profraw: Invalid instrumentation profile data (file header is corrupt)

Generating coverage data...


xcode version is 10.2.1

Replies

did you solve this?

not yet

Could you please let me know if you have got the solution for this issue.