Skip to content

Set swift.swiftSDK for target platforms #1390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 14, 2025

Conversation

rbenegal
Copy link
Contributor

SourceKit-LSP now provides code editing support for non-macOS Darwin platforms starting Swift 6.1 using the --swift-sdk flag. Set this flag to the appropriate target-triple when using the Select Target Platform feature on macOS.

Issue: #1335

SourceKit-LSP now provides code editing support for non-macOS Darwin
platforms starting Swift 6.1 using the --swift-sdk flag. Set this flag
to the appropriate target triple when using the "Select Target Platform"
feature on macOS.

Issue: swiftlang#1335
Currently this command only supports Darwin SDKs on macOS, and code
editing support from Swift 6.1 and above. Only show the command for
these cases.

Also add a unit test for the command.

Issue: swiftlang#1335
@rbenegal rbenegal force-pushed the fix-target-platform-selection-sdk branch from d3d8d3e to 4de5fd6 Compare March 14, 2025 15:54
@rbenegal rbenegal merged commit 4121e2e into swiftlang:main Mar 14, 2025
13 of 15 checks passed
@rbenegal rbenegal deleted the fix-target-platform-selection-sdk branch March 14, 2025 17:46
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.

2 participants