# 使用 Homebrew 安装 configen

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

## 安装

```sh
sudo av install brew:configen
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install configen
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:configen
- **软件包管理器:** Homebrew
- **版本:** 1.1.2
- **来源摘要:** Configuration file code generator for use in Xcode projects
- **主页:** <https://github.com/theappbusiness/ConfigGenerator>
- **仓库:** <https://github.com/theappbusiness/ConfigGenerator>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- configen (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

configen is a small Xcode-oriented configuration code generator. It reads a mapping file and one or more property-list files, then generates Swift or Objective-C configuration code for app builds.

### 项目历史

The project was published by The App Business as ConfigGenerator, with the executable named configen. The README frames it around robust multi-environment iOS builds: developers keep per-environment values in plist files, describe expected keys and types in a .map file, and add configen as an external build step.

The release feed shows a compact lifecycle: v1.0.0 in 2017, Swift 4 and Xcode 9 compatibility soon after, Swift 4.2/Xcode 10 compatibility in 2018, array support in 2019, and a Swift 5 update in 2020.

### 采用历史

Official installation guidance is project-local: download a release binary or build the Xcode project, copy the executable into the app repository, and wire it into Xcode schemes. The supplied Homebrew package fact shows how the same binary-oriented workflow was also made installable through a package manager.

### 使用方式

Typical usage is configen --plist-path <plist> --hints-path <mapping-file> --class-name <output-class-name> --output-directory <output-directory>, optionally with --objective-c. It is aimed at build-time generation of typed configuration constants for multiple app environments.

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

configen is package-nerd relevant as a narrow, app-build helper that Homebrew turns into a repeatable CLI dependency. It is less a general configuration system than a fossil of a common iOS packaging need: typed, generated build configuration from plist-era project assets.

### 时间线

- 2017: v1.0.0 release published; v1.0.1 updated the project for Swift 4 and Xcode 9.
- 2018: v1.0.2 updated the project for Swift 4.2 and Xcode 10.
- 2019: v1.1.0 added plist array support; v1.0.3 sorted generated variables to reduce git diffs.
- 2020: v1.1.2 updated the project to Swift 5.

### Related projects

- Official documentation ties configen to Xcode, Swift, Objective-C, plist files, mapping files, schemes, and external build-system targets.

### 来源

- <https://github.com/theappbusiness/ConfigGenerator#readme>
- <https://github.com/theappbusiness/ConfigGenerator/releases>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/v1.0.0>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/v1.0.1>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/v1.0.2>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/1.1.0>
- <https://github.com/theappbusiness/ConfigGenerator/releases/tag/1.1.2>


## 安全说明

narrow executable package without higher-risk signals.

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


## 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

- Unix: <project>/Config/*.map, <project>/Config/*.plist

## Combined YAML source

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


## 来源

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