HomeiOS Developmentios - Xcode xccov command throws error "Didn't load protection archive in...

ios – Xcode xccov command throws error “Didn’t load protection archive in scheme motion”


I’ve been utilizing the next command on CI to generate a code protection report for years:

xcrun xccov view --report --json path/to/App.xcresult > ./test_output/experiences/xccov.json

Within the final day (I am unsure what modified), I’ve began getting this error:

2023-11-02 23:24:36.067 xccov[22876:146900] Requested however didn't discover extension level with identifier Xcode.IDEFoundation.IDEResultKitSerializationConverter

adopted by:

Error: Error Area=XCCovErrorDomain Code=0 "Didn't load protection archive in scheme motion 'Testing venture App with scheme App' in outcome bundle" UserInfo={NSLocalizedDescription=Didn't load protection archive in scheme motion 'Testing venture Handshake with scheme App' in outcome bundle, NSUnderlyingError=0x600001c70870 {Error Area=NSCocoaErrorDomain Code=260 "The file “Metadata.plist” couldn’t be opened as a result of there isn't any such file." UserInfo={NSFilePath=/tmp/motion.xccovarchive/Metadata.plist, NSUnderlyingError=0x600001c707b0 {Error Area=NSPOSIXErrorDomain Code=2 "No such file or listing"}}}}

I’ve searched throughout for options however can not seem to nail down what the difficulty is. I attempted the answer right here to report protection for all targets, however no luck there.

This occurs in each Xcode 14.3 and Xcode 15. My venture can be utilizing Check Plans. Has anybody run into this and know what the issue is perhaps?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments