macOS
brew install xcdifflocal Homebrew formula metadata
安装
brew install xcdifflocal Homebrew formula metadata
概览
Tool to diff xcodeproj files
历史
xcdiff is Bloomberg's Swift-based tool for comparing Xcode project files. Its README describes it as an extensible "git diff for .xcodeproj files", usable both as a command-line program and as a library for custom tools.
The project appeared publicly in the Xcode project-generation era, when teams increasingly used tools such as XcodeGen and Tuist to generate .xcodeproj files rather than editing them entirely by hand. Swift Package Index records xcdiff's first public release, 0.2.0, on 22 October 2019, and the GitHub releases page shows continued maintenance through the 0.14.0 release in September 2025.
xcdiff builds on other Swift/Xcode infrastructure instead of parsing project files in isolation. The README credits Tuist's XcodeProj library and Swift Package Manager's utility library, which places xcdiff in the same small ecosystem of tools that inspect, generate, or normalize Xcode project metadata.
The project is niche by design: it is aimed at teams that need to compare two generated or hand-maintained Xcode projects in a meaningful way. Swift Package Index lists xcdiff as an active package with one executable, two libraries, and roughly a thousand GitHub stars, indicating modest but real use among Swift and Apple-platform tooling users.
The canonical workflow is to run `xcdiff` in a directory containing two .xcodeproj files, or to pass two project paths explicitly with `-p1` and `-p2`. The README's main use case is migration to project generation: compare a generated project against the original one and inspect differences in targets, sources, headers, and related project structure.
Beyond the CLI, xcdiff exposes XCDiffCore as a Swift Package Manager dependency. That makes it useful for package-nerd workflows where a team wants project-file comparison inside another migration, review, or CI tool rather than only as terminal output.
Xcode projects are serialized as large property-list-like graphs, so ordinary text diffs are noisy and often misleading. xcdiff matters in its niche because it treats the project file as structured data, which helps teams review generated-project changes without hand-reading unstable .pbxproj ordering and identifiers.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
xcdiff | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:xcdiff |
|---|---|
| 版本 | 0.14.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/bloomberg/xcdiff |
| 仓库 | https://github.com/bloomberg/xcdiff |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.