Closed tonyarnold closed 6 days ago
Hey @tonyarnold,
Could it be that you didn’t set swift.path
in VS Code to point to the installed toolchain?
It looks like it was because I was using the version included with Xcode 16 beta 2. Using a nightly toolchain works fine.
That's good to hear. If you see any issues with background indexing, please let me know.
Swift version
swift-driver version: 1.110 Apple Swift version 6.0 (swiftlang-6.0.0.4.52 clang-1600.0.21.1.3)
Platform
macOS 14.5
Editor
Visual Studio Code with Swift extension version v1.10.3
Does the issue reproduce with Swift 6?
Yes
Description
I'm unable to start SourceKit LSP from within VSCode.
Steps to Reproduce
I followed the instructions at https://github.com/apple/sourcekit-lsp/blob/main/Documentation/Enable%20Experimental%20Background%20Indexing.md
Now I get the following error within VSCode:
Logging
sourcekit-lsp-diagnose-2024-06-27T20-37-58+10-00.zip