Skip to content

"Unable to find any .xccoverage file" error only with xchtmlreport #10

@djuise

Description

@djuise

I have this error on Bitrise only with xchtmlreport plugin. If I remove it everything is ok.

Unable to find any .xccoverage file.
[10:28:35]: Make sure you have enabled 'Gather code coverage' setting on your scheme settings.
[10:28:35]: Alternatively you can provide the full path to your .xccoverage file.

Also, I tried to turn on/off 'Gather code coverage' nothing helped. Could you help with it, please?

my lane:

lane :myTests do
    run_tests(
      fail_build: false,
      workspace: "Workspace.xcworkspace",
      scheme: "TestScheme"
    )
    xchtmlreport
  end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions