gradle-native
gradle-native copied to clipboard
On macOs sequoia with XCode 16 coming with Swift 6 `swift-application` fails
Expected Behavior
No error.
Current Behavior
Just configuring gradle raises the error, so I cannot import the whole project, completion doesn't work either since the project cannot be loaded.
* What went wrong:
A problem occurred configuring project ':swift-app'.
> Swift language version is unknown for the specified Swift compiler version (6.0.0)
Context
Steps to Reproduce (for bugs)
Just create an empty project with the swift application plugin
plugins {
`swift-application`
}
Your Environment
- Build scan URL:
Note there a SwiftVersion but it's an enum that contains only SWIFT3(3), SWIFT4(4), SWIFT5(5).
@bric3 Can you check if the latest nightly build fixes the issue for you?
See
- https://github.com/gradle/gradle/pull/31445
I just tried on very simplistic project the nightly ./gradlew wrapper --gradle-version=8.12-20241129001902+0000, and it worked.
EDITED: I mentionned an issue earlier and that was me. I forgot to update some parts of the parent build file when I disabled this module on macOs 15.
Awesome, thanks for the feedback!