You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Swift executable at "/Applications/Xcode 16.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin" either could not be found or failed to launch. Please select a new toolchain.
Which is correct since I'm in a dev container. Though the extension could perhaps do something so this doesn't happen.
To Reproduce
Set a custom toolchain path then open the project in a dev container.
Expected behavior
No conflicts / failures when switching to a dev container.
Environment
Swift version: 6.0.3 RELEASE
Visual Studio Code version: 1.11.4
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
You should be able to modify your devcontainer.json to add settings that are only applied inside the dev container. In this case you can add the swift.path setting under customizations.vscode.settings inside devcontainer.json to set the Swift path back to where Swift lives in the container.
It does, but I wonder if we should stop here or not.
For example maybe it is appropriate for the extension to be smart about this and detect the situation and let the user know what to do.
Describe the bug
Getting:
Which is correct since I'm in a dev container. Though the extension could perhaps do something so this doesn't happen.
To Reproduce
Set a custom toolchain path then open the project in a dev container.
Expected behavior
No conflicts / failures when switching to a dev container.
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: