Skip to content

swift package init --type build-tool-plugin creates templates full of warnings #8797

Closed
@KeithBauerANZ

Description

@KeithBauerANZ

Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?

  • Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands, swift build, swift test, swift package etc.

Description

swift package init --type build-tool-plugin creates a template with a dozen deprecation warnings.

Expected behavior

it should be up-to-date with the latest PackagePlugin API

Swift Package Manager version/commit hash

Swift Package Manager - Swift 6.2.0-dev (Xcode 26b1)

Swift & OS version (output of swift --version ; uname -a)

swift-driver version: 1.127.4.2 Apple Swift version 6.2 (swiftlang-6.2.0.9.909 clang-1700.3.9.907)
Target: arm64-apple-macosx15.0

Darwin 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:49 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6000 arm64

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions