Skip to content

sourcekitd silently fails #1812

Closed
Closed
@award999

Description

@award999

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

  1. Have a tasks.json entry that points to an SDK from one Xcode installation
  2. Build that task
  3. Configure the SDK in settings to points to an SDK from a different Xcode installation
  4. Reload the window
  5. Next time sourcekit-lsp starts, no IntelliSense is available
  6. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions