Closed
Description
Swift version
swiftlang-6.0.3.1.4
Platform
macOS 15
Editor
VS Code
Description
When there is an SDK mismatch, sourcekitd silently fails
Steps to Reproduce
- Have a tasks.json entry that points to an SDK from one Xcode installation
- Build that task
- Configure the SDK in settings to points to an SDK from a different Xcode installation
- Reload the window
- Next time sourcekit-lsp starts, no IntelliSense is available
- Open the output channel and should see an error like this
2024-11-05 13:32:44.195827-0500 0x47bb1 Error 0x0 29814 0 sourcekit-lsp: [org.swift.sourcekit-lsp:request-26] Received sourcekitd response:
error response (Request Failed): Loading the standard library failed
Logging
No response