The full error message is:
ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images.
The root cause should be the localized launch images because everything works fine before I started to localize them. I’m using the following configuration in info.plist to use localized launch images. It works fine on simulator and test device. My Xcode version is 7.3.1.
http://i.stack.imgur.com/fUF1Q.png
http://i.stack.imgur.com/in9Rh.png
I’ve tried the following methods but none of them work.
- Use image asset for launch image but delete the actual images.
- Put a 568h image in source root. The upload succeed but lost localization.
- Localize the 568h image in source root, back to the original error