Closed owensd closed 7 years ago
The work-around for now is to create a link in your /Library/Developer/Toolchains
directory.
cd /Library/Developer
sudo mkdir Toolchains
cd Toolchains
sudo ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain swift-latest.xctoolchain
This is only necessary if you're using the Xcode version of Swift instead of the toolchain drops.
Looking at this again, I forgot to save the changes to settings.json
. The simple workaround of setting the swift.toolchainPath
does work.
Add this to your settings.json
file:
"swift.toolchainPath": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain swift-latest.xctoolchain"
Should be fixed in v0.8.0.
For some reason, this code isn't working properly:
Need to look into why the proper settings dictionary isn't being retrieved.