-
Couldn't load subscription status.
- Fork 1.4k
Open
Labels
Description
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 packageetc.
Description
There can be multiple Package.swift files targeting different toolchain version ranges. For example, a file named [email protected] will be used with a 5.8 or newer toolchain.
When running swift package add-dependency <url> --from <x.y.z> SwiftPM only updates the Package.swift file, and not any of the other ones. Try this with the swift-argument-parser package as an example.
Expected behavior
This command should update all available Package.swift files, or produce errors/warnings on the ones that it could not update.
Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version ; uname -a)
No response