swiftlang/swift-package-manager

Spurious warning about .docc bundles

Closed

#10.285 geöffnet am 10. Juli 2026

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)Swift (1.462 Forks)batch import
good first issue

Repository-Metriken

Stars
 (10.145 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T 4h) (62 gemergte PRs in 30 T)

Beschreibung

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