macOS
brew install xcode-build-serverlocal Homebrew formula metadata
sudo port install xcode-build-serverMacPorts ports tree · devel/xcode-build-server/Portfile · 来源: api.github.com
安装
brew install xcode-build-serverlocal Homebrew formula metadata
sudo port install xcode-build-serverMacPorts ports tree · devel/xcode-build-server/Portfile · 来源: api.github.com
概览
Build server protocol implementation for integrating Xcode with sourcekit-lsp
历史
xcode-build-server is a Build Server Protocol implementation for using Xcode projects with Apple's SourceKit-LSP. Its README states the motivation plainly: SourceKit-LSP does not directly support Xcode projects, but it can integrate with other build systems through BSP.
The project was created by SolaWing to make iOS and Apple-platform development practical in editors outside Xcode. The README says the goal is to integrate Xcode with SourceKit-LSP and support the language set Xcode handles: Swift, C, C++, Objective-C, and Objective-C++.
xcode-build-server's implementation reflects the gap it fills. Instead of replacing Xcode's build system, it watches or parses Xcode build logs, extracts compile flags, and exposes the information SourceKit-LSP needs. The repository is primarily Python and includes the `xcode-build-server` executable, config helpers, log parsing code, and Xcode automation scripts.
The GitHub repository lists about 142 commits, five releases, and v1.3.0 as the latest release on 5 January 2026. Earlier release search results show v1.0.0 in February 2024, suggesting the tool moved from a useful niche script into a versioned utility as SourceKit-LSP/BSP workflows became more common.
Adoption is concentrated among Swift developers who want Neovim, VS Code, JetBrains IDEs, or another LSP-capable editor to understand Xcode projects. A Swift Forums discussion from 2024 describes SourceKit-LSP's BSP integration and the need for build servers to provide build settings, target information, and index data; xcode-build-server is one practical community implementation of that idea for Xcode.
The tool is cited in SourceKit-LSP issue discussions and editor setup guides as a working answer for Xcode project support. MacPorts describes it as implementing a build server to provide SourceKit-LSP with the build information it needs for an Xcode project, and the GitHub page shows nearly a thousand stars, making it one of the better-known utilities in this small niche.
The simplest documented workflow is to run `xcode-build-server config` in the workspace root with a workspace or project and scheme. That creates or updates `buildServer.json` with `kind: xcode`, instructing the server to watch and use compile flags from the newest Xcode build log. Afterward, opening files with SourceKit-LSP enabled should provide editor intelligence.
For non-Xcode builds, the README documents `xcode-build-server parse` on a build log or on piped `xcodebuild` output. That mode writes compile information to `.compile` and updates `buildServer.json` with `kind: manual`. The README repeatedly notes that stale compile info should be refreshed by building again or rerunning the parse step when files, SDKs, configurations, or macros change.
The package-nerd detail is that it relies on the standard `buildServer.json` discovery convention used by BSP/LSP tooling. The project root must be the working directory where `buildServer.json` is created, so editor setup and repository layout matter as much as the executable itself.
xcode-build-server is significant because Xcode projects are historically hard to use outside Xcode. SourceKit-LSP supports Swift and C-family editor features, but it needs exact compiler arguments, SDK paths, target membership, and index locations. xcode-build-server turns Xcode's own build output into that missing protocol layer.
For Swift tooling users, it represents a pragmatic compromise: keep Xcode as the authoritative build system, but let other editors participate through SourceKit-LSP and BSP. That makes it a bridge between Apple's proprietary project model and the open editor tooling world.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
./buildServer.json./.compile可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xcode-build-server | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xcode-build-server |
|---|---|
| 版本 | 1.3.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/SolaWing/xcode-build-server |
| 仓库 | https://github.com/SolaWing/xcode-build-server |
| 最后更新 | 2026-05-14T17:32:27-04:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
xcode-build-server
sudo port install xcode-build-server来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.