App Store Connect Setup
Validate installation and configure authentication for the asc CLI.
Quick Check
bash
# Check if asc is installed asc --version # Check authentication status asc auth status
Setup Steps
1. Install asc (if needed)
bash
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
.p8file (only available once!) - •Note the Key ID and Issuer ID
3. Authenticate
bash
asc auth login \ --name "IngrediCheck" \ --key-id "<KEY_ID>" \ --issuer-id "<ISSUER_ID>" \ --private-key /path/to/AuthKey_XXXXX.p8
4. Find App ID
bash
# List all apps (table format for readability) asc apps --output table # Or search by bundle ID asc apps --bundle-id "llc.fungee.ingredicheck" --output table
5. Save Config
Create .asc/config.json with the discovered app ID:
bash
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:
bash
# Should show authenticated profile asc auth status # Should list the app asc apps --bundle-id "llc.fungee.ingredicheck" --output table # Test builds access (requires app ID) 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 loginwith 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 appsto list all apps