# 使用 Homebrew, Nix 安装 zsign

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

## 安装

```sh
sudo av install brew:zsign
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zsign
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#zsign
```

  证据: nixpkgs package indexes: pkgs/by-name/zs/zsign/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:zsign
- **软件包管理器:** Homebrew
- **版本:** 1.1.1
- **来源摘要:** Cross-platform codesigning tool for iOS apps
- **主页:** <https://github.com/zhlynn/zsign>
- **仓库:** <https://github.com/zhlynn/zsign>
- **最后更新:** 2026-07-16T10:03:34Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zsign (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

zsign is a fast cross-platform command-line code-signing tool for iOS apps. It focuses on signing IPA/app bundles with certificates, provisioning profiles, entitlements, and embedded frameworks outside Apple's Xcode GUI workflow.

### 项目历史

The public GitHub repository was created on 2019-09-19. Its README presents zsign as a fast cross-platform iOS code-signing tool and documents command-line signing examples for `.ipa`, `.app`, `.dylib`, and `.framework` targets.

zsign appeared in a tooling niche created by Apple's signing model: iOS apps require valid signatures and provisioning data, but developers, CI systems, jailbreak-adjacent workflows, and enterprise resigning flows often need a scriptable tool rather than a full Xcode-driven build.

### 采用历史

Adoption has been practical and tooling-driven. The repository has substantial GitHub interest for a small native utility, and Homebrew/Nix packaging makes it easier to install on developer machines and CI runners that need repeatable resigning commands.

Because iOS signing is platform-sensitive and operationally finicky, zsign's appeal is not broad consumer usage; it is operators and developers who already have certificates and provisioning profiles and need a concise command-line path.

### 使用方式

Typical usage passes a certificate, mobile provisioning profile, entitlements, and an input IPA or app bundle to `zsign`, producing a resigned output artifact. The README also documents signing embedded dynamic libraries and frameworks, which matters because iOS bundles contain nested code that must be signed consistently.

Package users should treat it as a signing automation tool, not a credential manager. Certificates, private keys, and provisioning profiles remain external inputs supplied by the user or CI environment.

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

zsign is package-nerd significant because it packages a piece of mobile-release infrastructure as a small Unix-style CLI. It turns a GUI-heavy Apple platform operation into something package managers can install and scripts can call.

It also sits at an interesting boundary between legitimate CI/app-distribution workflows and more informal IPA resigning ecosystems, so clear package metadata and source provenance matter.

### 时间线

- 2019-09-19: The zhlynn/zsign GitHub repository is created.
- 2020s: zsign becomes available through package managers such as Homebrew and Nix for command-line iOS signing workflows.
- 2026: The GitHub repository remains active, with recent pushes in 2026 according to GitHub metadata.

### Related projects

- Related projects include Apple's codesign, Xcode signing tools, ldid, fastlane sigh/gym, ios-deploy, AltStore-related signing workflows, and mobile provisioning-profile tooling.

### 来源

- <https://api.github.com/repos/zhlynn/zsign>
- <https://developer.apple.com/documentation/technotes/tn3125-inside-code-signing-provisioning-profiles>
- <https://github.com/zhlynn/zsign>
- <https://raw.githubusercontent.com/zhlynn/zsign/master/README.md>


## 安全说明

narrow executable package without higher-risk signals.

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

## 其他软件包管理器记录

- Nix - zsign: normalized package name match | nixpkgs package indexes: pkgs/by-name/zs/zsign/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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