Closed
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 package
etc.
Description
Swift 6 nightly builds using swiftLanguageVersion
now fail with:
InternalError(description: "Internal error. Please file a bug at https://github.com/swiftlang/swift-package-manager/issues with this info. invalid build setting swiftLanguageVersion"
This makes sense as it's now been renamed to swiftLanguageMode
(#7620).
Expected behavior
Build should still compile but warn about the deprecated setting.
Presumably this code should return a setting with name "swiftLanguageMode" rather than "swiftLanguageVersion".
Actual behavior
Build fails with an error
InternalError(description: "Internal error. Please file a bug at https://github.com/swiftlang/swift-package-manager/issues with this info. invalid build setting swiftLanguageVersion"
Steps to reproduce
No response
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version ; uname -a
)
No response