# 使用 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
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ios-class-guard>
- **版本:** 0.8
- **来源摘要:** Objective-C obfuscator for Mach-O executables
- **主页:** <https://github.com/Polidea/ios-class-guard/>
- **仓库:** <https://github.com/Polidea/ios-class-guard>
- **上游文档:** <https://github.com/Polidea/ios-class-guard/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/Polidea/ios-class-guard/archive/refs/tags/0.8.tar.gz>
- **最后更新:** 2026-07-17T18:17:01+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ios-class-guard (cli)
- ios-class-guard (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8
- 管理器更新时间: 2026-07-17
- 本地数据: OK
- 上游仓库: https://github.com/Polidea/ios-class-guard
- 检测到的最新版本: 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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ios-class-guard
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [ipsw](https://pkg.so/zh-hans/brew/ipsw/) - Shares pkgdb curated category or tags: cli, ios, security.
- [garble](https://pkg.so/zh-hans/brew/garble/) - Shares pkgdb curated category or tags: cli, obfuscation, security.
- [zsign](https://pkg.so/zh-hans/brew/zsign/) - Shares pkgdb curated category or tags: cli, ios, security.
- [sf-pwgen](https://pkg.so/zh-hans/brew/sf-pwgen/) - Shares pkgdb curated category or tags: cli, objective-c, security.
- [openssl@3](https://pkg.so/zh-hans/brew/openssl-3/) - Shares pkgdb curated category or tags: cli, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [p11-kit](https://pkg.so/zh-hans/brew/p11-kit/) - Shares pkgdb curated category or tags: cli, security.
- [gnupg](https://pkg.so/zh-hans/brew/gnupg/) - Shares pkgdb curated category or tags: cli, security.
- [rp](https://pkg.so/zh-hans/brew/rp/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, mach, mach-o, security.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
