Getting a Flutter app from your machine into App Store Connect is a short list of steps, but each one has a way to fail: a bundle ID mismatch, a signing team that is not set, a build number you already used. This guide follows Flutter’s official iOS release steps in order and points out where things usually break.
It is the iOS shipping step of building a Flutter app with Claude Code. For the full submission (metadata, screenshots, review), see the App Store submission checklist for Flutter.
What you need first
- A paid Apple Developer Program membership. Apple lists it at “99 USD per membership year.”
- A Mac with Xcode. Apple’s upload page lists the Xcode versions App Store Connect accepts, and they move forward every year, so update Xcode before a release.
- Your app’s final bundle identifier, for example
com.yourcompany.yourapp.
Step 1: register the bundle ID
In your Apple Developer account, open Identifiers (App IDs), click +, choose Explicit App ID, enter the bundle ID, tick any capabilities you use (Sign in with Apple, Push Notifications), then Register.
The bundle ID must match exactly what is in your Xcode project. A mismatch is the most common reason the upload is rejected or the build never attaches to your app.
Step 2: create the app record
In App Store Connect go to Apps, click +, then New App. Fill in your app details with iOS checked under Platforms. Flutter’s docs then say to open App Information and confirm the Bundle ID you registered is selected.
The form also asks for a SKU; see what the SKU in App Store Connect is.
Step 3: check Xcode signing
Open the iOS project:
open ios/Runner.xcworkspace
Select the Runner target and check three places:
- Signing & Capabilities: “Automatically manage signing” is on. Flutter’s docs say this default “should be sufficient for most apps.” Pick your Team; if it is missing, add your Apple account in Xcode settings.
- General > Identity: Bundle Identifier is the App ID you registered.
- Build Settings > Deployment: iOS Deployment Target. Flutter’s docs state “Flutter supports iOS 13 and later.” Set it to the lowest version you actually test on.
Open the .xcworkspace, not the .xcodeproj. The workspace includes CocoaPods dependencies.
Step 4: set version and build number
Flutter reads both from pubspec.yaml:
version: 1.0.0+1
1.0.0 is the version users see (CFBundleShortVersionString), and 1 is the build number (CFBundleVersion). You can override both at build time:
flutter build ipa --build-name=1.0.0 --build-number=7
Apple uses the build string “to uniquely identify the build throughout the system”, so every upload needs a new build number. In CI, use the run number as --build-number and you will never collide.
Step 5: declare encryption once
Every new version triggers export compliance questions in App Store Connect. Apple’s encryption guide says you can answer up front in Info.plist: set ITSAppUsesNonExemptEncryption to NO “if your app, including any third-party libraries it links against, doesn’t use encryption, or if it only uses forms of encryption that are exempt.” Otherwise set it to YES and provide documentation.
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
Only use NO if it is true for your app, including every package you depend on. If you are unsure, read Apple’s page before you answer.
Step 6: run flutter build ipa
flutter build ipa --obfuscate --split-debug-info=build/symbols
Flutter’s docs: this produces “an Xcode build archive (.xcarchive file) in your project’s build/ios/archive/ directory and an App Store app bundle (.ipa file) in build/ios/ipa.”
The --obfuscate and --split-debug-info flags are optional, but they shrink the Dart code and make reverse engineering harder. Keep the symbols folder; you need it to read crash stack traces (see Flutter Firebase Crashlytics setup).
Other export options:
--export-method ad-hoc,developmentorenterpriseif you are not distributing to the App Store.--export-options-plist=path/to/ExportOptions.plistto reuse saved export settings without opening Xcode. Useful in CI.
If the build fails at signing, open build/ios/archive/Runner.xcarchive in Xcode; the Organizer usually gives a clearer error. For other build failures, see fixing Flutter build errors with Claude Code.
Step 7: upload
Flutter lists three ways. Pick one.
Transporter app. Install and open Apple’s Transporter macOS app and drag in build/ios/ipa/*.ipa. Easiest for a first upload.
Command line. Create an App Store Connect API key, then:
xcrun altool --upload-app --type ios \
-f build/ios/ipa/*.ipa \
--apiKey your_api_key \
--apiIssuer your_issuer_id
Run man altool for details on authenticating with the API key. This is the option to script in a Flutter CI/CD pipeline.
Xcode. Open the .xcarchive, click Validate App, then Distribute App. Validation catches some problems before upload.
Step 8: wait for processing
Apple says the build “needs to be processed in Apple’s system before it appears in App Store Connect. You’ll receive an email when this process is complete.” Flutter’s docs add that you “should receive an email within 30 minutes” saying the build is validated and available for TestFlight. Track it in the Activities tab of your app.
If the email instead says the binary is invalid, read App Store invalid binary causes and fixes. The email names the specific problem, so fix that exact item and upload a new build number.
Step 9: TestFlight, then submit
Once processed, the build shows under TestFlight. Add yourself as an internal tester and install it on a real device before anything else. See the TestFlight beta testing guide.
When it is ready, open your version page (for a first release, “1.0 Prepare for Submission”), attach the build, complete the required fields, and click Submit for Review. Apple says it typically reviews “at least 50% of submissions in less than 24 hours and 90% in less than 48 hours.”
Common failures and fixes
- Build number already used. Bump the number after
+and rebuild. - No signing team or wrong bundle ID. Fix in Signing & Capabilities.
- Old Xcode. Update to a version App Store Connect accepts.
- Opened the
.xcodeproj. UseRunner.xcworkspace. - Capability in code but not on the App ID (for example Sign in with Apple). Enable it in the Identifier and re-sync signing.
MobileKit’s launch skill runs this sequence and checks the version, signing and plist settings before each upload.
Sources read on the day this post was written: Flutter: Build and release an iOS app, App Store Connect: Upload builds, Apple: Complying with encryption export regulations, Apple Developer Program enrollment and Apple: App Review.