SuperAPI AI 工具集

asc-signing-setup

部署与运维

查看项目

更新于 10-16 08:08

技能介绍

用途:为 iOS/macOS 应用创建或续期签名资产,覆盖 Bundle ID、能力、证书、描述文件与团队共享存储。

前提:已配置认证(asc auth login 或 ASC_* 环境变量),已知 Bundle ID 与目标平台,并准备 CSR 或让 asc certificates create --generate-csr 生成。

主要能力:创建/查找 Bundle ID 与配置能力(如 asc bundle-ids capabilities add --bundle "BUNDLE_ID" --capability ICLOUD);创建证书(asc certificates create --certificate-type IOS_DISTRIBUTION --csr "./cert.csr");创建与下载描述文件(asc profiles create、asc profiles download);本地检查与安装(asc profiles inspect、asc profiles local install);轮换与清理(asc certificates revoke、asc profiles delete、asc profiles local clean --expired)。

共享存储:asc signing sync push/pull 提供加密 Git 存储,需 --password-file,私有身份需 --identity 与 --identity-sha256;pull 将私有身份写入 sensitiveFiles 并设 0600。

其他:asc signing reconcile plan/apply 用于基于归档与设备文件的增量协调;asc signing run 可在 macOS 上用临时钥匙串运行子命令。

限制:App Store Connect 不返回私钥;PRIVATE_CLOUD_COMPUTE 与 App Groups 需 Web 会话;私有身份同步不支持 MAC_APP_DIRECT 与 MAC_CATALYST_APP_DIRECT;--password 在 5.0.0 已移除;profileState 不能单独作为过期信号。具体枚举值请查 --help。