You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xcrun xccov view --json Build/Logs/Test/Run-XCCov-Demo-2019.04.03_07-40-58-+0100.xcresult/3_Test/action.xccovreport
Error: Error Domain=XCCovErrorDomain Code=0 "Failed to load coverage report" UserInfo={NSLocalizedDescription=Failed to load coverage report, NSUnderlyingError=0x7f8430c48570 {Error Domain=NSCocoaErrorDomain Code=260 "The file “action.xccovreport” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/Jack/Downloads/XCCov-Demo-master/Build/Logs/Test/Run-XCCov-Demo-2019.04.03_07-40-58-+0100.xcresult/3_Test/action.xccovreport, NSUnderlyingError=0x7f8430c47fb0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}}
The output path of Xcode coverage tool has changed.
Xcode9 :
DerivedData/{build}/Logs/Test/{testpass}.xcovreport
Xcode10 :
DerivedData/{build}/Logs/Test/{testpass}.xcresult/{#}_Test/action.xcovreport
so when running the
xcrun xccov view Build/Logs/Test/*.xccovreport
it fails with the error:Failed to load coverage report ...
The text was updated successfully, but these errors were encountered: