App Store Connect

How to deploy a Flutter app to App Store and TestFlight using the Flutter workflow editor

Codemagic enables you to automatically publish your app to App Store Connect for beta testing with TestFlight or distributing the app to users via App Store. To do so, you must first set up iOS code signing and then configure publishing to App Store Connect.

This guide only applies to workflows configured with the Flutter workflow editor. If your workflow is configured with codemagic.yaml please go to Publishing to App Store Connect using codemagic.yaml.


Codemagic needs your Apple ID and app-specific password to perform publishing to App Store Connect on your behalf. Publishing to App Store Connect requires that the app be signed with App Store distribution certificate.

In addition, the application must be App Store ready for build distribution, meaning that it must have all the correct icons and icon sizes, otherwise App Store Connect will tag the binary as invalid, and you will not be able to distribute it at all.

It is also worth pointing out the necessity for each uploaded binary to have a different version, otherwise it will be refused by App Store Connect. See the Build versioning article for instructions on incrementing app version with Codemagic.

Please note that you will need to create an app record in App Store Connect before you can automate publishing with Codemagic. It is recommended to upload the very first version of the app manually.

Setting up publishing to App Store Connect on Codemagic

  1. Navigate to the Publish section in app settings.
  2. Click App Store Connect.
  3. Enter your Apple ID (the email address used for login) and your app-specific password.
  4. Select Enable App Store Connect publishing at the top of the section to enable publishing.

Once you have successfully set up publishing to App Store Connect, Codemagic will automatically distribute the app to App Store Connect every time you build the workflow. Note that you must manually submit the app to App Store in App Store Connect.

Submitting an app to App Store

To make your iOS app available to the public, it must be submitted for review in App Store Connect.

  1. Log in to App Store Connect.
  2. Navigate to My Apps and identify the app you would like to publish to App Store.
  3. To start the submission process, click Prepare for Submission.
  4. Check that you app metadata is up to date, and once everything is ready, click the Submit for Review button.