Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XCode 10] Failed to load coverage report #1

Open
nickkarpov opened this issue Feb 22, 2019 · 2 comments
Open

[XCode 10] Failed to load coverage report #1

nickkarpov opened this issue Feb 22, 2019 · 2 comments

Comments

@nickkarpov
Copy link

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 ...

@Shashikant86
Copy link
Collaborator

Thanks, @nickkarpov I have update repo.

@jackmumbai
Copy link

jackmumbai commented Sep 23, 2020

But i am still getting error

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"}}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants