Loading...
Loading...
Manage App Store Connect code signing resources using the `asc` CLI tool. Use this skill when: (1) Managing bundle identifiers — register, list, or delete (`asc bundle-ids`) (2) Managing signing certificates — create from CSR, list, or revoke (`asc certificates`) (3) Registering or listing test devices (`asc devices`) (4) Managing provisioning profiles — create, list, or delete (`asc profiles`) (5) Setting up the full code signing chain for CI/CD pipelines (6) User says "set up signing", "create a profile", "register my device", "revoke cert", "list certificates", "create bundle id", or any code-signing related task
npx skill4agent add tddworks/asc-cli-skills asc-code-signingascasc auth login --key-id <id> --issuer-id <id> --private-key-path ~/.asc/AuthKey.p8"affordances"{
"id": "bid-1",
"identifier": "com.example.app",
"affordances": {
"listProfiles": "asc profiles list --bundle-id-id bid-1",
"delete": "asc bundle-ids delete --bundle-id-id bid-1"
}
}# 1. Register bundle identifier
asc bundle-ids create \
--name "My App" \
--identifier "com.example.myapp" \
--platform ios
# 2. Create distribution certificate from a CSR
asc certificates create \
--type IOS_DISTRIBUTION \
--csr-content "$(cat MyApp.certSigningRequest)"
# 3. Register test devices (development profiles only)
asc devices register --name "My iPhone" --udid "<udid>" --platform ios
# 4. Grab resource IDs
asc bundle-ids list --identifier com.example.myapp # note the id
asc certificates list --type IOS_DISTRIBUTION # note the id
# 5. Create provisioning profile
asc profiles create \
--name "My App Store Profile" \
--type IOS_APP_STORE \
--bundle-id-id <bid-id> \
--certificate-ids <cert-id>
# 6. Verify
asc profiles list --bundle-id-id <bid-id> --prettyIOS_APP_STOREIOS_APP_DEVELOPMENTIOS_APP_ADHOCMAC_APP_STOREMAC_APP_DEVELOPMENTMAC_APP_DIRECTIOS_DISTRIBUTIONIOS_DEVELOPMENTMAC_APP_DISTRIBUTIONMAC_APP_DEVELOPMENTDEVELOPER_ID_APPLICATIONiosmacosuniversal--pretty # Pretty-print JSON
--output table # Table format
--output markdown # Markdown table