Skip to content

Could not Open .xcresult file in the Finder  #3

@Shashikant86

Description

@Shashikant86

With Xcode 10.2, code coverage file generated by xccov can not be opened in the finder. We can generate xcresult file by enabling the code coverage for this project

$ $ xcodebuild -project XCCov-Demo.xcodeproj/ -scheme XCCov-Demo -derivedDataPath Build/ -destination 'platform=iOS Simulator,OS=12.2,name=iPhone Xʀ' -enableCodeCoverage YES clean build test CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO`

Now if we navigate the derived data in the build

 $ cd Build/Logs/Test/ 
 $ open .

Click on the `xcresultz directory. You will see following

xcresult

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions