Hi everyone! We are releasing sourcekit-xcode-bsp — an open-source (Apache 2.0) Build Server Protocol server that brings native Swift code intelligence to Xcode projects (.xcodeproj/.xcworkspace) in any LSP-capable editor: Cursor, VSCode, or anything else that speaks BSP.
Under the hood,sourcekit-xcode-bsp talks directly to swift-build's build service — the same engine Xcode itself uses — so sourcekit-lsp gets accurate, up-to-date project info straight from the source.
What it gives you:
- Completion, jump-to-definition, and diagnostics for standard multi-target, multi-platform
.xcodeproj/.xcworkspaceprojects without building - Automatic workspace reloading
- An interactive
sourcekit-xcode-bsp initcommand that writes yourbuildServer.jsonfor you
Currently, it's tested to work with Xcode 26+. To install
brew tap slime-studio/tap
brew install sourcekit-xcode-bsp
Full setup and configuration docs: https://github.com/slime-studio/sourcekit-xcode-bsp
This is still early, but we would appreciate feedback and bug reports!