fastlane-community / xcov

Nice code coverage reporting without hassle
MIT License
556 stars 107 forks source link

How can we ignore `Swift Package Dependencies` #210

Open BeibeiLewis opened 2 years ago

BeibeiLewis commented 2 years ago

As title, how can we ignore Swift Package Dependencies.

aadeshmindtickle commented 1 year ago

Any update for this issue ?

raafaelima commented 1 year ago

Hey, what solve that problem for me was to set the only_project_targets to true, on the fastlane configuration.

xcov(workspace: "MyProject.xcworkspace",scheme: "MyProject", only_project_targets: true)

markst commented 1 year ago

We have include_targets defined and it seems our swift packages are still getting picked up by xcov

markst commented 1 year ago

Ah might be a case of needing to update scheme settings:

image