Maaz Zindani

Loading the index…

↑↓ move↵ openesc close4072 pages
Flutter and app store releases

App Store Connect rejects the upload because the iOS SDK is too old

ErrorSDK Version Issue

Short answer

App Store Connect accepts uploads only from builds made with the SDK version Apple currently requires. Since 28 April 2026 that is Xcode 26 or later with the iOS 26 SDK. Check which Xcode your Mac or CI machine uses, install a current Xcode and select it with xcode-select, then rebuild.

  • Applies to Xcode 26, Flutter 3.x, macOS
  • Updated
  • By Maaz Zindani, Senior Software Engineer

Fix it fast

  1. 1Find out which cause you have

    Print the Xcode version that builds your app, and the path that xcode-select points at.

    xcodebuild -version
    xcode-select -p
  2. 2Match what you see, then jump to its fix

    1. 1xcodebuild -version prints a major version below 26The machine builds with an Xcode older than 26Fix
    2. 2xcode-select -p points to an older Xcode.app, or to a different copyA newer Xcode is installed, but another one is selectedFix

What does the error look like?

  • SDK Version Issue

Cause 1 of 2

The machine builds with an Xcode older than 26

1Check

Apple's upcoming-requirements page says apps uploaded to App Store Connect must be built with Xcode 26 or later, using the iOS 26 SDK (iPadOS, tvOS, visionOS or watchOS 26 for those platforms).

xcodebuild -version

2Fix

Update Xcode the same way you installed it. The Flutter iOS setup guide says to update an existing Xcode with the original installation method.

# Update Xcode from the App Store or from developer.apple.com, then:
xcodebuild -version

3Verify

The command now prints Xcode 26 or newer.

xcodebuild -version

Confirmed by developer.apple.com

Did this fix it?

Cause 2 of 2

A newer Xcode is installed, but another one is selected

1Check

xcodebuild and Flutter use the Xcode that xcode-select points to, not the newest one on disk.

xcode-select -p
ls /Applications | grep -i xcode

2Fix

Point xcode-select at the new install and run its first-launch step, as in the Flutter iOS setup guide. Replace the path if Xcode is somewhere else.

sudo sh -c 'xcode-select -s /Applications/Xcode.app/Contents/Developer && xcodebuild -runFirstLaunch'

3Verify

Build and archive again, then upload the new IPA.

flutter clean
flutter build ipa

Confirmed by docs.flutter.dev

Did this fix it?

How do I stop it coming back?

  • Read Apple's upcoming requirements page before each spring release, since the required Xcode version changes each year.
  • Keep the build machine's Xcode in step with your development machine, and print xcodebuild -version in every build log.

Sources

How was this page made?

I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.

Which stack is behind this page?

Projects of mine built on the same technologies:

Related fixes

Next step

Want this handled for good?

I look after servers, apps and releases end to end. Tell me what keeps breaking.