Asc Id Resolver

作者 rorkai9c7e769f09a1无许可证1K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库3天前更新

Resolve App Store Connect IDs (apps, builds, app and digital-goods versions, groups, testers) from human-friendly names using asc. Use when commands require IDs.

AI 生成的概览

使用 asc CLI 将易读的 App Store Connect 名称解析为 ID,涵盖应用、构建、版本、数字商品、测试人员和审核。

功能
该技能提供使用 asc CLI 从名称或 bundle ID 解析 App Store Connect 标识符的命令配方。涵盖应用、构建、版本、数字商品(IAP、订阅及订阅组)版本、本地化、图片、TestFlight 群组与测试人员、预发布版本以及审核提交 ID。还给出输出格式建议和防护规则,例如使用分页和排序以获得确定性结果。
适用场景
当其他命令或工作流需要某个 App Store Connect ID,而你只知道其名称、bundle ID 或版本号时使用。也适用于查询数字商品、TestFlight 测试人员或群组、审核提交的 ID。
运行要求
需要安装 asc CLI,并针对相应 App Store Connect 账户完成身份验证。需要访问 App Store Connect 的网络连接。该技能仅包含说明,不附带脚本。

asc id resolver

Use this skill to map names to IDs needed by other commands.

App ID

  • By bundle ID or name:
    • asc apps list --bundle-id "com.example.app"
    • asc apps list --name "My App"
  • Fetch everything:
    • asc apps list --paginate
  • Set default:
    • ASC_APP_ID=...

Build ID

  • Latest build:
    • asc builds info --app "APP_ID" --latest --version "1.2.3" --platform IOS
  • Recent builds:
    • asc builds list --app "APP_ID" --sort -uploadedDate --limit 5
  • Skip the lookup when attaching or submitting: asc versions attach-build and asc review submit accept --app, --version, and --build-number "45".

Version ID

  • asc versions list --app "APP_ID" --paginate

Digital-goods version IDs

API 4.4.1 version IDs are distinct from IAP product, subscription, and subscription-group IDs:

Resolve the owning resources first:

  • IAPs: asc iap list --app "APP_ID" --paginate --output json
  • Subscription groups: asc subscriptions groups list --app "APP_ID" --paginate --output json
  • Subscriptions: asc subscriptions list --app "APP_ID" --paginate --output json or asc subscriptions list --group-id "GROUP_ID" --paginate --output json

Then resolve their version IDs:

  • IAP versions: asc iap versions list --iap-id "IAP_ID" --paginate --output json
  • Subscription versions: asc subscriptions versions list --subscription-id "SUB_ID" --paginate --output json
  • Subscription group versions: asc subscriptions groups versions list --group-id "GROUP_ID" --paginate --output json

Resolve child localization or image IDs from the corresponding version subtree:

  • IAP localizations: asc iap versions localizations list --version-id "VERSION_ID" --paginate --output json
  • IAP primary image: asc iap versions image --version-id "VERSION_ID" --output json
  • IAP image collection: asc iap versions images list --version-id "VERSION_ID" --paginate --output json
  • Subscription localizations: asc subscriptions versions localizations list --version-id "VERSION_ID" --paginate --output json
  • Subscription primary image: asc subscriptions versions images primary --version-id "VERSION_ID" --output json
  • Subscription image collection: asc subscriptions versions images list --version-id "VERSION_ID" --paginate --output json
  • Subscription-group localizations: asc subscriptions groups versions localizations list --version-id "VERSION_ID" --paginate --output json

TestFlight IDs

  • Groups:
    • asc testflight groups list --app "APP_ID" --paginate
  • Testers:
    • asc testflight testers list --app "APP_ID" --paginate

Pre-release version IDs

  • asc testflight pre-release list --app "APP_ID" --platform IOS --paginate

Review submission IDs

  • asc review submissions list --app "APP_ID" --paginate

Output tips

  • Output defaults are TTY-aware: table in a terminal and minified JSON in pipes or CI. An explicit --output wins.
  • Use explicit --output json for automation and add --pretty only for human-readable JSON.
  • For human viewing, use --output table or --output markdown.

Guardrails

  • Prefer --paginate on list commands to avoid missing IDs.
  • Use --sort where available to make results deterministic.

来源与署名

来源:rorkai/app-store-connect-cli-skills位于skills/asc-id-resolver提交9c7e769

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架