swiftlang/swift-package-manager

Spurious warning about .docc bundles

Open

#10,285 opened on Jul 10, 2026

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Swift (1,462 forks)batch import
good first issue

Repository metrics

Stars
 (10,145 stars)
PR merge metrics
 (Avg merge 9d 4h) (62 merged PRs in 30d)

Description

In recent 6.4 toolchains, we're seeing this warning when building a package where a target contains a .docc bundle:

warning: 'swift-testing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/runner/actions-runner/_work/swift-testing/swift-testing/Sources/Testing/Testing.docc

This warning was not produced in 6.3 or earlier and appears to be a regression.

Contributor guide