pkg.sopackage field notes

brew / 排名 261

使用 Homebrew 安装 xcodegen

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xcodegen

provider-native install command

概览

软件包摘要

Generate your Xcode project from a spec file and your folder structure

命令和别名

  • xcodegen

历史

项目历史与用法

XcodeGen is a Swift command-line project generator that turns a YAML or JSON project specification plus a source tree into an Xcode project. Its core appeal is making Xcode project structure reproducible, reviewable, and less prone to merge conflicts.

项目历史

Yonas Kolb created the XcodeGen repository on 2017-07-19, and the first 0.1 release followed on 2017-07-28. The README has consistently positioned the tool around generating an Xcode project from a folder structure and project spec, with sensible defaults for common targets, schemes, configurations, build settings, and source references.

Across the 2.x series, XcodeGen became a maintained part of the Swift/Xcode automation ecosystem rather than a one-off generator. Its changelog shows ongoing adaptation to newer Xcode project formats, Swift Package Manager integration, local packages, visionOS/watchOS destinations, string catalogs, privacy manifests, and Xcode 16 synchronized folders.

采用历史

The repository's long-running contributor base and thousands of GitHub stars show broad adoption among iOS and macOS developers who prefer a text source of truth over hand-edited .xcodeproj files. Articles and community comparisons commonly place XcodeGen beside Tuist as one of the main answers to generated Xcode projects, with XcodeGen favoring declarative YAML or JSON configuration.

The project is also distributed through multiple developer package channels, including Homebrew, MacPorts, Nix, Mint, and Swift Package Manager. That spread matters because XcodeGen is often run on CI or developer bootstrap scripts before Xcode itself opens the generated project.

使用方式

Typical use starts with a project.yml or project.json file checked into the repository. Running xcodegen generate reads that spec, scans source directories, and writes an .xcodeproj. Teams may then omit generated project files from version control or regenerate them in CI to avoid pbxproj churn.

Advanced usage includes splitting specs into included files, sharing build setting groups, generating multiple schemes, defining multi-platform frameworks, using cache support to avoid unnecessary regeneration, and dumping the resolved spec for inspection or automation.

为什么软件包爱好者会关心

XcodeGen is package-nerd significant because it treats an opaque IDE project file as a generated artifact. That makes Xcode projects more like other language ecosystems where build configuration is text, diffable, and reproducible, while still targeting Apple's native .xcodeproj format.

时间线

  • 2017-07-19: Repository created on GitHub.
  • 2017-07-28: 0.1 release published.
  • 2024-06-03: 2.39.0 added support for artifact bundles, string catalogs, and visionOS defaults.
  • 2025-07-17: 2.44.0 added basic support for Xcode 16 synchronized folders.
  • 2026-04-14: 2.45.4 released with fixes for generated project path and synchronized folder behavior.

Related projects

  • Tuist is the most common point of comparison: both generate or manage Xcode projects, but Tuist centers more of the workflow in Swift manifests and a broader project automation platform, while XcodeGen stays close to YAML/JSON project specifications.
  • XcodeGen depends conceptually on the same Xcode project-file automation niche as libraries such as XcodeProj, which parse and write pbxproj structures.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 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
./project.yml./project.json

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

安装元数据

软件包元数据

软件包键brew:xcodegen
版本2.46.0
软件包管理器Homebrew
主页https://github.com/yonaskolb/XcodeGen
仓库https://github.com/yonaskolb/XcodeGen
最后更新2026-07-16T12:10:29Z
Pulseupdated
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated configuration and credential file locations
  • curated package history
  • pkgdb category and tag curation