App Store Connect publishing
AppRelease uploads the .ipa to App Store Connect, waits for processing, and can add it to TestFlight groups or submit it for App Store review.
Requirements
- An App Store Connect API key added under Credentials (see iOS code signing).
- The app created in App Store Connect with the same bundle identifier.
- A build signed for
app_storedistribution.
Configuration
workflows:
ios-workflow:
publishing:
app_store_connect:
auth: integration # the App Store Connect key under Credentials
submit_to_testflight: true
beta_groups: # optional
- Beta testers
- QA
expire_previous_builds: false # optional
submit_to_app_store: false
release_type: AFTER_APPROVAL # MANUAL | AFTER_APPROVAL | SCHEDULED
copyright: 2026 Example Ltd| Key | Default | Description |
|---|---|---|
auth | integration | Use the team's API key. Alternatively give api_key, key_id, issuer_id as variable references. |
submit_to_testflight | false | Upload and wait for processing. |
beta_groups | — | External or internal groups to add the build to. External groups trigger beta review. |
expire_previous_builds | false | Expire older TestFlight builds of the same version. |
submit_to_app_store | false | Create (or reuse) the App Store version and submit for review. |
release_type | MANUAL | How the version is released after approval. |
What the publishing step does
- Validates the
.ipaand uploads it with the API key. - Polls App Store Connect until the build has finished processing (usually 2–10 minutes).
- Sets the "What to test" text from
release_notes.txtif present. - Adds the build to the named beta groups.
- If
submit_to_app_storeis on, creates the version, attaches the build and submits.
Export compliance. If the app does not use non-exempt encryption, add
ITSAppUsesNonExemptEncryption = NO to Info.plist. Otherwise every TestFlight build waits for a manual answer in App Store Connect.Common errors
| Message | Usually means |
|---|---|
| The bundle version must be higher than the previously uploaded version | Use versioning: source: app_store_connect. |
| Missing Compliance | Set ITSAppUsesNonExemptEncryption in Info.plist. |
| Invalid Provisioning Profile | The build was signed for ad hoc or development. Use distribution_type: app_store. |