ERROR ITMS-90096: Your binary is not optimized for iPhone 5
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. Learn more about iPhone 5 support and app launch images by reviewing the ‘iOS Human Interface Guidelines’ at https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."
Solution:
1、Add an image named Default-568.png to the root directory of the project, with dimensions of 320x568
2、Modify the project’s plist file by adding the following:
<key>UILaunchImages</key>
<array>
<dict>
<key>UILaunchImageName</key>
<string>Default-568</string>
<key>UILaunchImageSize</key>
<string>{320, 568}</string>
</dict>
</array>