Skip to content

Version 2.8.4 Still continues to Generate an Empty Coverage File #572

@scottasoutherland

Description

@scottasoutherland

I am still experiencing the empty coverage report issue described here: #561 , even after upgrading to 2.8.4.

Specifically we have a .slather.yml file which uses the keys: build_directory and ignore .

We then run slather with the following command. bundle exec slather coverage --input-format 'profdata' --scheme <our_scheme> --workspace <absolute_path_to_workspace> --source-files <glob_with_absolute_path> --binary-file <absoluted_path_to_binary_file> <absolute_path_to_xcodeproj> On version 2.8.0 , this works fine for us. On 2.8.1+ it outputs an empty report.json file. I've tried in 2.8.1, 2.8.2, and 2.8.4. Specifically the output of the report is always []

I've tried using both Xcode 15.4 and 16.0 if that matters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions