iOS Release Skill
Use this as the default path for iOS releases. Prefer CLI/API channels; use the browser only for account-level prompts, agreements, tax/banking, or Resolution Center issues.
Inputs
- App path, brand slug, bundle id, target version/build, and intended destination: TestFlight internal, TestFlight external, or App Store submit.
- ASC API key id, issuer id, and
.p8key location. Check project-local references first, then/Users/suas/work/creds. Never print secret values. - Existing release notes, screenshots, compliance answers, tester group name, and whether review submission is allowed.
Workflow
- Read repo instructions and current app config before editing.
- Confirm the iOS project shape. For current Capacitor apps, use the SPM/Xcode project path, not stale
.xcworkspacerunbooks. - Bump
CURRENT_PROJECT_VERSIONin every build configuration. UpdateMARKETING_VERSIONonly when the requested release version changes. - Run the project verification gates before archiving. Prefer the repo's typecheck/test commands, then the web build and Capacitor sync.
- Archive with
xcodebuild -project <path>/App.xcodeproj -scheme App -configuration Release -archivePath <archive> archive. - Export with an app-store-connect ExportOptions plist.
- Upload with
xcrun altool --upload-app --apiKey <KEYID> --apiIssuer <ISSUER>using the key at~/.appstoreconnect/private_keys/AuthKey_<KEYID>.p8. - Poll the ASC API until the uploaded build finishes processing. Do not claim success while processing is pending.
- Set export compliance through the ASC API. For TLS-only apps, verify
usesNonExemptEncryptionis answered orITSAppUsesNonExemptEncryption=falseis inInfo.plistfor future builds. - Attach the latest processed build to the intended TestFlight internal group. Internal groups are often
allBuilds=false, so explicitly attach every new build. - For App Store submit, update metadata/screenshots through the ASC API where available, then submit only when James explicitly approved review submission.
- Verify install and smoke behavior: launch, home screen, sign-in, push registration, and deep links if relevant.
Browser Fallback
- Use logged-in browser sessions only for agreements, tax/banking, account-holder verification, Resolution Center replies, or ASC pages with no stable public API.
- Capture screenshots before and after browser-only submissions.
- Use read-back verification after every browser save; stop on captcha, payment, account-holder identity, or legal declarations.
Output
Return done, stalled, or needs-permission with the build number, upload/processing status, TestFlight group status, commands run, verification results, and remaining manual prompts.