Skip to content

Conversation

topkim993
Copy link
Contributor

Replace deprecated 'swiftLanguageVersions' with 'swiftLanguageModes'

https://developer.apple.com/documentation/packagedescription/package/swiftlanguageversions

@zunda-pixel
Copy link
Contributor

zunda-pixel commented Jun 2, 2025

Hi @topkim993
if set // swift-tools-version:6.0 in Package.swift, We don't need to set swiftLanguageModes(.v6).
I think those effects is same.

@topkim993
Copy link
Contributor Author

Hi, @zunda-pixel thanks for the feedback!
I’ve reflected the change by removing the explicit swiftLanguageModes(.v6) since setting // swift-tools-version:6.0 already implies Swift 6 mode.

For reference, I followed the official Swift 6 migration guide here

@davdroman davdroman self-requested a review June 10, 2025 09:38
@davdroman davdroman changed the title chore: Replace deprecated 'swiftLanguageVersions' with 'swiftLanguage… Infra: remove unneeded swiftLanguageVersions param Jun 10, 2025
@davdroman davdroman merged commit 27a0bb9 into siteline:main Jun 10, 2025
17 checks passed
@generalgw

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants