Flutter iOS应用上传报错Asset validation failed 90476求助
Fixing Asset Validation Failed (90476) for Flutter iOS/iPadOS Apps
This error triggers because your app supports iPad multitasking but lacks a valid launch screen configuration. Follow these targeted fixes based on your minimum iOS version:
Check Your Minimum iOS Version
First, confirm your app's minimum supported iOS version in ios/Runner/Info.plist:
<key>MinimumOSVersion</key> <string>14.0</string> <!-- Replace with your actual version -->
Option 1: Use UILaunchScreen (iOS 14 or Higher)
For iOS 14+, Apple recommends using UILaunchScreen instead of a storyboard. Update your Info.plist:
- Remove any existing
UILaunchStoryboardNameentry. - Add the
UILaunchScreendictionary with these required keys:<key>UILaunchScreen</key> <dict> <key>UILaunchScreenBackgroundColor</key> <string>#FFFFFF</string> <!-- Your desired background color --> <key>UILaunchScreenImageName</key> <string>SplashImage</string> <!-- Name of your splash image in Assets.xcassets --> <key>UILaunchScreenContentMode</key> <string>scaleAspectFill</string> <!-- Choose fit mode (scaleAspectFit/scaleAspectFill) --> </dict> - Ensure your splash image is properly added to
ios/Runner/Assets.xcassetswith all required sizes for iOS and iPadOS devices.
Option 2: Use a Launch Storyboard (iOS <14)
If your minimum iOS version is below 14, use a launch storyboard:
- Open your Flutter project's iOS folder in Xcode.
- Right-click the
Runnerfolder > New File > Select "Launch Screen" under iOS > User Interface. Name itLaunchScreen(or your preferred name). - Add your splash image to the storyboard, set constraints to cover the entire screen.
- In
Info.plist, add or update theUILaunchStoryboardNamekey:<key>UILaunchStoryboardName</key> <string>LaunchScreen</string> - Verify the storyboard is included in your app target: Go to Xcode's Build Phases > Copy Bundle Resources, ensure
LaunchScreen.storyboardis listed.
Final Steps
- Run
flutter cleanto clear cached build files. - Rebuild your app with
flutter build ipa. - Re-upload the IPA using the Transporter app.
内容的提问来源于stack exchange,提问作者Lucas Knötig
相关产品推荐
相关产品推荐

