| name | asc-setup |
| description | Setup and validate App Store Connect CLI. Use when user needs to configure asc authentication or check setup status. |
| allowed-tools | ["Bash(*)"] |
App Store Connect Setup
Validate installation and configure authentication for the asc CLI.
Quick Check
asc --version
asc auth status
Setup Steps
1. Install asc (if needed)
brew tap rudrankriyam/tap
brew install rudrankriyam/tap/asc
2. Create API Key
If not authenticated, guide the user to create an API key:
- Open: https://appstoreconnect.apple.com/access/integrations/api
- Click "+" to create a new key
- Name: "Claude Code" (or similar)
- Access: "App Manager" (or higher for submissions)
- Download the
.p8 file (only available once!)
- Note the Key ID and Issuer ID
3. Authenticate
asc auth login \
--name "IngrediCheck" \
--key-id "<KEY_ID>" \
--issuer-id "<ISSUER_ID>" \
--private-key /path/to/AuthKey_XXXXX.p8
4. Find App ID
asc apps --output table
asc apps --bundle-id "llc.fungee.ingredicheck" --output table
5. Save Config
Create .asc/config.json with the discovered app ID:
mkdir -p .asc
cat > .asc/config.json << 'EOF'
{
"app_id": "DISCOVERED_APP_ID",
"profile": "IngrediCheck"
}
EOF
IngrediCheck App Details
| Property | Value |
|---|
| Bundle ID | llc.fungee.ingredicheck |
| Team ID | 58MYNHGN72 |
| Scheme | IngrediCheck |
| Project | IngrediCheck.xcodeproj |
Verification
After setup, verify everything works:
asc auth status
asc apps --bundle-id "llc.fungee.ingredicheck" --output table
source .claude/skills/scripts/asc-common.sh
asc_load_config && asc builds list --app "$ASC_APP_ID" --limit 1
Troubleshooting
- "No credentials stored": Run
asc auth login with your API key
- "Invalid key": Verify key ID, issuer ID, and .p8 file path
- "Forbidden": API key may lack required permissions
- App not found: Double-check bundle ID or use
asc apps to list all apps