Skip to content
Deployment
Skill

/asc-signing-setup

Set up bundle IDs, capabilities, signing certificates, provisioning profiles, and encrypted signing sync with the asc cli. Use when onboarding a new app, rotating signing assets, or sharing them across a team.

From plugin
app-store-connect-cli-skills
1.1k26 skills

Claude Code

$ npx -y skills add rorkai/app-store-connect-cli-skills --skill asc-signing-setup --agent claude-code

SKILL.md

asc-signing-setup.SKILL.md
name: asc-signing-setup
description: Set up bundle IDs, capabilities, signing certificates, provisioning profiles, and encrypted signing sync with the asc cli. Use when onboarding a new app, rotating signing assets, or sharing them across a team.

asc signing setup

Use this skill when you need to create or renew signing assets for iOS/macOS apps.

Preconditions

  • Auth is configured (`asc auth login` or `ASC_*` env vars).
  • You know the bundle identifier and target platform.
  • You have a CSR file for certificate creation, or you will let `asc certificates create --generate-csr` create one.

Workflow

1. Create or find the bundle ID:

  • `asc bundle-ids list --paginate`
  • `asc bundle-ids create --identifier "com.example.app" --name "Example" --platform IOS`

2. Configure bundle ID capabilities:

  • `asc bundle-ids capabilities list --bundle "BUNDLE_ID"`
  • `asc bundle-ids capabilities add --bundle "BUNDLE_ID" --capability ICLOUD`
  • Add capability settings when required:
  • `--settings '[{"key":"ICLOUD_VERSION","options":[{"key":"XCODE_6","enabled":true}]}]'`
  • For the Developer Portal-only `PRIVATE_CLOUD_COMPUTE` capability, use a

user-owned web session and the Developer Portal Bundle ID resource ID:

  • `asc web bundle-ids capabilities enable --bundle-id "BUNDLE_RESOURCE_ID" --capability PRIVATE_CLOUD_COMPUTE --confirm`
  • This capability is not available through the public App Store Connect

capability enum. If the cached session cannot access Developer Portal, clear its scoped cache, then log in again with the same binary:

  • `asc web auth logout --apple-id "user@example.com"`
  • `asc web auth login --apple-id "user@example.com"`
  • For App Groups, the public API can enable `APP_GROUPS` but cannot create or

associate App Group resources. Use an Account Holder or Admin web session:

  • `asc web app-groups list --paginate --output table`
  • `asc web app-groups create --name "Example Shared" --identifier "group.com.example.app.shared" --confirm`
  • `asc web app-groups assign --group "GROUP_RESOURCE_ID" --bundle-id "BUNDLE_RESOURCE_ID" --confirm`
  • Resolve the opaque group ID with `asc web app-groups list` and the opaque

Bundle ID resource ID with `asc bundle-ids list`. A changed assignment invalidates provisioning profiles containing that App ID, so regenerate affected profiles before the next signed build. 3. Create a signing certificate:

  • `asc certificates list --certificate-type IOS_DISTRIBUTION`
  • `asc certificates create --certificate-type IOS_DISTRIBUTION --csr "./cert.csr"`
  • Or generate a key and CSR inline:
  • `asc certificates create --certificate-type IOS_DISTRIBUTION --generate-csr --key-out "./signing/dist.key" --csr-out "./signing/dist.csr"`
  • For Wallet passes, create the Pass Type ID first, then create its certificate:
  • `asc pass-type-ids create --identifier "pass.com.example" --name "Example Pass"`
  • `asc certificates create --certificate-type PASS_TYPE_ID --pass-type-id "PASS_TYPE_ID" --csr "./pass.csr"`
  • `asc pass-type-ids certificates list --pass-type-id "PASS_TYPE_ID" --paginate`

4. Create a provisioning profile:

  • `asc profiles create --name "AppStore Profile" --profile-type IOS_APP_STORE --bundle "BUNDLE_ID" --certificate "CERT_ID"`
  • Include devices for development/ad-hoc:
  • `asc profiles create --name "Dev Profile" --profile-type IOS_APP_DEVELOPMENT --bundle "BUNDLE_ID" --certificate "CERT_ID" --device "DEVICE_ID"`

5. Download the profile:

  • `asc profiles download --id "PROFILE_ID" --output "./profiles/AppStore.mobileprovision"`

6. Inspect and install the downloaded profile locally when needed:

  • `asc profiles inspect --path "./profiles/AppStore.mobileprovision" --output table`
  • `asc profiles inspect --path "./profiles/AppStore.mobileprovision" --entitlements --output markdown`
  • `asc profiles local install --path "./profiles/AppStore.mobileprovision"`
  • `asc profiles local list --output table`
  • On macOS, the default directory follows the active Xcode: Xcode 16 or newer uses `~/Library/Developer/Xcode/UserData/Provisioning Profiles`; Xcode 15 or older uses `~/Library/MobileDevice/Provisioning Profiles`. Hosts without a full active Xcode fall back to the legacy directory and print a note to stderr.
  • Pass `--install-dir` when automation must target a fixed directory.

Rotation and cleanup

  • Revoke old certificates:
  • `asc certificates revoke --id "CERT_ID" --confirm`
  • Audit remote provisioning profiles before deleting or rotating:
  • `asc profiles list --profile-state ACTIVE,INVALID --paginate --output json`
  • Apple `profileState` is not a complete expiration signal: some profiles can have a past `expirationDate` while still reporting `ACTIVE`. For true expired-profile audits, compare `expirationDate` against the current date instead of relying only on `INVALID`.
  • Delete old profiles:
  • `asc profiles delete --id "PROFILE_ID" --confirm`
  • Clean local Xcode provisioning profiles:
  • `asc profiles local clean --expired --dry-run`
  • `asc profiles local clean --expired --confirm`
  • Check the resolved directory in the dry-run output before confirming, or pin it with `--install-dir`.

Shared team storage with `asc signing sync`

Use this when you want a lightweight, non-interactive alternative to fastlane match for encrypted git-backed certificate/profile storage.

# Protect secret inputs before use
chmod 600 "./signing-sync-password" "./distribution.p12" "./distribution-p12-password"

# Push a usable private identity with its matching certificate and profile
asc signing sync push \
  --bundle-id "com.example.app" \
  --profile-type IOS_APP_ADHOC \
  --repo "git@github.com:team/certs.git" \
  --password-file "./signing-sync-password" \
  --identity "./distribution.p12" \
  --identity-password-file "./distribution-p12-password" \
  --output json

# Pull and decrypt them i
Read more
@rorkai
Ships withapp-store-connect-cli-skills

A collection of Agent Skills for shipping with the asc cli (asc). These skills help agents run builds, TestFlight, metadata, submissions, signing, and Apple Ads workflows. This is a community-maintained, unofficial skill pack and is not affiliated with Apple.

Stars on GitHub

Momentum

stars in total
1.1k
Star history of rorkai/app-store-connect-cli-skills on GitHub, a chart by star-history.com

More skills from other plugins.

configuring-horizon

configuring-horizon

Use this skill whenever the user mentions Horizon by name in a Laravel context. Covers the full Horizon lifecycle: installing…

coolify11d66k
@coollabsio@coollabsioInstall Skill
vercel-cli

vercel-cli

Guides deployment, configuration, and troubleshooting with the Vercel CLI. Use when operating Vercel projects or resources…

vercel2w16k
@vercel@vercelInstall Skill
skypilot

skypilot

Use when launching cloud VMs, Kubernetes pods, or Slurm jobs for GPU/TPU/CPU workloads, training or fine-tuning models on cloud…

@skypilot-org@skypilot-orgInstall Skill
pinme

pinme

Use this skill when the user mentions "pinme", or needs to upload files, store to IPFS, create/publish/deploy websites or…

pinme2mo3.8k
@glitternetwork@glitternetworkInstall Skill

Questions about asc-signing-setup.

Which coding agents can use asc-signing-setup?
asc-signing-setup installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.