How to Fix Missing SwiftSupport?
Flutter iOS App Submission Issue
This is my final update on this issue. While I believe this is the solution, I want to document the approaches I tried — some worked once, but the issue always returned.
If you’ve followed all the steps but still experience an inconsistent issue — where it works sometimes and fails other times — the fix that finally worked for me was using Xcode’s default DerivedData and archive location.
****************
The previous version was successfully submitted and approved. In the latest update, only the version number and some text were changed. However, submission failed with the error:
“ITMS-90426: Invalid Swift Support — The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.”
Release Steps Followed:
flutter clean
flutter pub get
flutter build ios --release
# In Xcode:
- Clean Build Folder
- Archive
- Distribute App
Despite searching online and trying multiple suggested fixes, the issue persists.
Solution:
Rebuild the IPA with “Embed Swift Standard Libraries” Enabled
- Open Xcode → Select your Project.
- Go to Build Settings.
- Search for Always Embed Swift Standard Libraries and set it to YES.
# In terminal:
flutter clean
rm -rf ios/Pods ios/Podfile.lock
flutter pub get
cd ios
pod install --repo-update
# if you running into issue, need to fix it.
# [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `Runner` to `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` or include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`).
# I use WARP's ai to add address above issue:how to Include the `Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig` in your build configuration (`Flutter/Release.xcconfig`)
flutter build ios --release
# In Xcode:
- Clean Build Folder
- Archive
- Distribute App
# see the screen shots at the bottom of this page.
PS: To avoid uploading to the App Store, you can export the archived package locally. During the export process, you’ll have the option to select a destination folder. In that folder, locate the .ipa
file, rename it to .zip
, and unzip it into a directory. You should then see a folder structure similar to this:
another issue by “pod install — repo-update”:
Solved by: