# 使用 Homebrew 安装 ios-class-guard

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

## 安装

```sh
sudo av install brew:ios-class-guard
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ios-class-guard
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:ios-class-guard
- **软件包管理器:** Homebrew
- **版本:** 0.8
- **来源摘要:** Objective-C obfuscator for Mach-O executables
- **主页:** <https://github.com/Polidea/ios-class-guard/>
- **仓库:** <https://github.com/Polidea/ios-class-guard>
- **最后更新:** 2026-07-17T18:17:01+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ios-class-guard (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

iOS Class Guard is a command-line Objective-C obfuscator for Mach-O executables. Its README describes it as an extension of class-dump that renames Objective-C classes, protocols, properties, methods, and ivars by generating symbol maps used during compilation.

### 项目历史

Polidea's repository was created for an iOS-specific obfuscation workflow built on top of the class-dump lineage. The README documents version 0.8, Homebrew installation, CocoaPods support, XIB and storyboard rewriting, JSON symbol maps, crash-report reversal, and dSYM symbol restoration workflows.

The repository notes that it is no longer maintained. That status matters historically because the tool belongs to an older Objective-C-heavy iOS security era, before Swift and newer Apple build-system conventions changed many app-hardening workflows.

### 采用历史

The package has a narrower adoption profile than the other tools in this batch. Homebrew packages it from the 0.8 tag, while the upstream README itself recommends Homebrew as the simple installation path and a HEAD install for development snapshots.

### 使用方式

The intended workflow is to run the tool against a compiled app, generate a symbols header and JSON map, include the generated header during compilation, and preserve the JSON map so crash reports and dSYMs can be translated back when needed. The README stresses that the result is not a complete security solution, only a way to make runtime inspection and code analysis harder.

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

For package catalogs, ios-class-guard is interesting because it packages a fragile intersection of reverse-engineering technique, Mach-O parsing, Xcode project mutation, CocoaPods integration, and mobile-app release process. It is not a general-purpose security layer; it is a snapshot of how Objective-C metadata exposure shaped iOS tooling.

### 时间线

- 2014: GitHub repository created for Polidea's iOS Class Guard project.
- 2015: Version 0.8 tag used by Homebrew as the stable source archive.
- After 2015: Repository README marked the project as no longer maintained.

### Related projects

- The upstream README names class-dump as the base project and links an ios-class-guard-example repository for demonstrating obfuscated and non-obfuscated app headers. The workflow also intersects with CocoaPods, Xcode precompiled headers, crash-reporting tools, and dSYM handling.

### 来源

- <https://formulae.brew.sh/formula/ios-class-guard>
- <https://github.com/Polidea/ios-class-guard>
- <https://raw.githubusercontent.com/Polidea/ios-class-guard/master/README.md>


## 安全说明

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/ios-class-guard.yml](https://github.com/mxcl/pkgdb/blob/main/combined/ios-class-guard.yml)


## 来源

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