SuperAPI AI 工具集

asc-signing-setup

安全与审计

查看项目

更新于 10-15 21:37

技能介绍

用途:为 iOS/macOS 应用创建或续期签名资产,包括 bundle ID、能力、签名证书、描述文件,以及基于加密 git 仓库的签名同步。

前置条件:已配置认证(asc auth login 或 ASC_* 环境变量);已知 bundle identifier 与目标平台;准备 CSR 文件,或使用 asc certificates create --generate-csr 自动生成。

主要能力与用法:

  • 管理 bundle ID:asc bundle-ids list --paginate;asc bundle-ids create --identifier "com.example.app" --name "Example" --platform IOS。
  • 配置能力:asc bundle-ids capabilities list/add,必要时通过 --settings 传入 JSON 设置。
  • 创建证书:asc certificates list/create,支持 --csr 或 --generate-csr 并输出 key 与 csr。
  • 创建描述文件:asc profiles create,指定 --profile-type、--bundle、--certificate,开发/Ad Hoc 可加 --device;下载用 asc profiles download。
  • 本地检查与安装:asc profiles inspect、asc profiles local install/list。
  • 轮换与清理:asc certificates revoke、asc profiles delete、asc profiles local clean(支持 --dry-run)。
  • 团队共享:asc signing sync push/pull,使用加密 git 仓库,--password 可回退到 ASC_MATCH_PASSWORD;pull 仅写文件,钥匙串导入或描述文件安装需另行处理。

限制与注意:枚举值以 --help 为准;大账号使用 --paginate;--certificate 支持逗号分隔多个 ID;设备管理使用 asc devices(需 UDID);asc profiles inspect 与 local 命令操作本地磁盘状态,而非 App Store Connect API 资源。