pkg.soopen package index

brew / 排名 1556

使用 Homebrew, MacPorts 安装 xcode-build-server

查看 xcode-build-server 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xcode-build-server

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xcode-build-server

MacPorts ports tree · devel/xcode-build-server/Portfile · 来源: api.github.com

概览

软件包摘要

Build server protocol implementation for integrating Xcode with sourcekit-lsp

命令和别名

  • xcode-build-server

历史

项目历史与用法

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.

时间线

  • 2023: SourceKit-LSP issue discussions identify xcode-build-server as a practical solution for Xcode project support.
  • 2024-02-14: GitHub release listings show v1.0.0 and v1.0.1 releases.
  • 2024: Swift Forums discusses extending SourceKit-LSP's use of Build Server Protocol for richer build-system integration.
  • 2026-01-05: GitHub repository lists v1.3.0 as the latest release.

Related projects

  • SourceKit-LSP is Apple's language-server implementation for Swift and C-family languages and is the main consumer of the build information xcode-build-server provides.
  • The Build Server Protocol defines the editor-to-build-server layer that xcode-build-server implements.
  • Other Swift BSP work, such as sourcekit-bsp and Swift build-server experiments, addresses similar integration problems for different build systems.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:server

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
./buildServer.json./.compile

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xcode-build-server可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.3.0
管理器更新时间2026-05-14
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

MacPorts95%

xcode-build-server

sudo port install xcode-build-server
  • normalized package name match
  • 匹配方式:Xcode Build Server
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/xcode-build-server/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation