macOS
brew install swiftgenlocal Homebrew formula metadata
brew
swiftgen のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install swiftgenlocal Homebrew formula metadata
概要
Swift code generator for assets, storyboards, Localizable.strings, etc.
履歴
SwiftGen is a Swift code generator for project resources such as asset catalogs, localized strings, fonts, Interface Builder files, JSON, YAML, and plists. Its package-manager role is to make resource names type-safe and repeatable in iOS and Swift build pipelines.
The SwiftGen repository was created in July 2015. Its README presents the project as a generator that removes stringly typed resource lookups by producing Swift constants and APIs from project files.
The project developed around a configuration-first workflow. The documented `swiftgen.yml` file describes parsers, inputs, templates, and outputs, which made SwiftGen easy to pin in repositories and run from Xcode build phases.
Official installation documentation covers ZIP releases committed into a project, CocoaPods, Homebrew, Mint, and source builds. That set reflects a common Swift tooling pattern: either pin the binary inside the project or install it system-wide through a developer package manager.
The input package facts list Homebrew availability, and GitHub release metadata shows public releases at least as far back as the 0.5.x and 0.6.x series in 2016.
Common usage is `swiftgen config run` or simply `swiftgen` from a project root containing `swiftgen.yml`. Teams usually run it in an Xcode script phase so generated Swift files stay synchronized with assets and localization files.
SwiftGen is also used directly with parser subcommands when developing templates or testing one resource type, but the README recommends configuration-file usage for normal projects.
SwiftGen is important to package-oriented Swift workflows because it turns app resources into generated source and therefore has to be versioned like a compiler-adjacent build tool. A different SwiftGen version can change generated APIs, so teams care about pinning and reproducible installation.
It also sits at the intersection of package managers and IDE builds: CocoaPods can install the binary beside dependencies, Homebrew can provide a system command, and checked-in release ZIPs can lock a project to one tool version.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
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.
swiftgen.yml実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
swiftgen | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/SwiftGen/SwiftGen
インストールメタデータ
| パッケージキー | brew:swiftgen |
|---|---|
| バージョン | 6.6.3 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/swiftgen |
| ホームページ | https://github.com/SwiftGen/SwiftGen |
| リポジトリ | https://github.com/SwiftGen/SwiftGen |
| 上流ドキュメント | https://github.com/SwiftGen/SwiftGen#readme |
| ライセンス | MIT |
| ソースアーカイブ | https://github.com/SwiftGen/SwiftGen/archive/refs/tags/6.6.3.tar.gz |
| Bottle | 利用可能 (対象 arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | swiftgen |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.