# 使用 Homebrew 安装 objc-codegenutils

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

## 安装

```sh
sudo av install brew:objc-codegenutils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install objc-codegenutils
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:objc-codegenutils
- **软件包管理器:** Homebrew
- **版本:** 1.0
- **来源摘要:** Three small tools to help work with XCode
- **主页:** <https://github.com/puls/objc-codegenutils>
- **仓库:** <https://github.com/puls/objc-codegenutils>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- objc-assetgen (别名)
- objc-colordump (别名)
- objc-identifierconstants (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0
## 项目历史与用法

objc-codegenutils is a small Objective-C-era Xcode helper suite containing `objc-assetgen`, `objc-colordump`, and `objc-identifierconstants`. The tools generate Objective-C code from Xcode asset catalogs, macOS color-list files, and storyboard identifiers so app projects can avoid repeated strings and recover some compile-time checking.

### 项目历史

The GitHub repository was created on 2014-02-18, in the Xcode 5 and iOS 7 transition period described by the README. The README presents the tools as a way to "meet Xcode halfway": Xcode 5 introduced useful asset-catalog and storyboard workflows, but older deployment targets and string-based identifiers still left gaps that small generators could smooth over.

The repository had a single v1.0 tag and its GitHub API metadata showed the last push on 2015-08-28. That makes the package a snapshot of mid-2010s Objective-C iOS tooling rather than an actively expanding generator framework.

### 采用历史

The repository metadata recorded 504 stars and 23 forks, notable for a three-tool Objective-C utility bundle. Homebrew core continued to package v1.0 with three executables, an Xcode build requirement, and 73 recorded installs over 365 days in the 2026-07-01 formula JSON.

### 使用方式

`objc-assetgen` reads `.xcassets` directories and generates Objective-C accessors for named images. `objc-colordump` reads `.clr` color palettes from macOS color-list files and generates color accessors. `objc-identifierconstants` reads storyboards and emits constants for view-controller, segue, and cell-reuse identifiers.

The generated files are meant to be placed in DerivedSources or a similar generated-code area, letting teams keep visual Xcode assets and interface-builder identifiers as the source of truth while using compiler-checked Objective-C symbols in code.

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

objc-codegenutils is package-nerd interesting because it captures a narrow moment in Apple tooling: before Swift asset conveniences and newer generated-resource patterns became common, tiny command-line generators gave Objective-C teams a way to reduce stringly typed app code.

### 时间线

- 2014-02-18: the public GitHub repository was created.
- 2015-08-28: GitHub API metadata recorded the repository's last push.
- 2026-07-01: Homebrew core formula metadata listed stable version 1.0 and the three bundled executables.

### Related projects

- The package is closely tied to Xcode asset catalogs, UIKit storyboards, Interface Builder nib/storyboard workflows, and macOS color palettes. It is conceptually related to later resource-code-generation tools that turn design-time assets into typed application code.

### 来源

- <https://api.github.com/repos/puls/objc-codegenutils>
- <https://api.github.com/repos/puls/objc-codegenutils/tags>
- <https://formulae.brew.sh/api/formula/objc-codegenutils.json>
- <https://github.com/puls/objc-codegenutils>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/objc-codegenutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/objc-codegenutils.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
