publish command provides high-level workflows for publishing apps to TestFlight or the App Store.
Usage
Workflows
TestFlight workflow
Upload and distribute to TestFlight:- Uploads the build
- Waits for processing
- Distributes to specified beta groups
App Store workflow
Submit to App Store:- Uploads the build
- Waits for processing
- Attaches build to version
- Validates version
- Submits for review
TestFlight flags
App ID for the build
Path to IPA file
Comma-separated beta group names or IDsExample:
"External Testers,Internal Team"Wait for build processing to completeDefault:
trueApp Store flags
App ID for the version
Version string (e.g.,
1.2.0)Path to IPA file
Automatically release after approvalDefault:
falseExample workflows
Publish to TestFlight
Publish to App Store
CI/CD integration
Output
Error handling
If any step fails, the workflow stops and reports the error:Related
Builds command
Manage builds and uploads
Submit command
Submit for App Store review
Automation guide
Workflow automation patterns
