SDK version issue. This app was built with the iOS 17.4 SDK. All iOS and iPadOS apps must be built with the iOS 18 SDK or later, included in Xcode 16 or later, in order to be uploaded to App Store
Assistant
The error message you're seeing means that Apple now requires all iOS and iPadOS apps submitted to the App Store to be built using iOS 18 SDK or later, which is included in Xcode 16 or later.
Here’s how to resolve this issue:
Steps to Fix the SDK Version Issue
Update Xcode to the Latest Version (Xcode 16 or Later)
Go to the Mac App Store or Apple Developer Downloads page.
User
flutter
Assistant
Got it, you're using Flutter and encountering the error about needing to build with iOS 18 SDK (Xcode 16 or later) for App Store upload.
Here’s what you should do to fix this in your Flutter project:
1. Update Xcode to Version 16 or Later
Download and install Xcode 16 or later (the latest stable version you can use).
Open Your Project in Xcode 16+
Launch the updated Xcode and open your project.
It should automatically use the latest SDK (iOS 18) once opened.
Update the Project Build Settings
In your project settings under Build Settings, find the Base SDK.
Ensure it's set to iOS 18.0 (or Latest iOS).
Also, check your Deployment Target and consider updating it to a reasonable minimum supported version, but that can remain as is unless you want to change supported devices.
Clean and Build Your Project
Product > Clean Build Folder
Then build again to ensure everything works with the new SDK.
Archive and Submit
Create a new Archive (Product > Archive).
Upload the archive to the App Store via Xcode Organizer or Transporter.
Additional Notes
If you use third-party libraries or CocoaPods, update them accordingly to ensure compatibility with iOS 18 SDK.
If you have CI/CD pipelines, update the Xcode environment or image to Xcode 16+.
Summary:
You simply need to update your development environment to Xcode 16 or later, rebuild your app with the iOS 18 SDK, and then upload the new build to the App Store.
If you need help with a specific part of this process, feel free to share more details!
You must install Xcode 16 or newer. Download it from the Mac App Store or Apple’s Developer site.
Make sure your system’s command line tools point to the new Xcode: