上传iOS应用时 ERROR ITMS-90096: Your binary is not optimized for iPhone 5。。。

问题描述

遇到一个iOS上传应用的问题,就是在上传二进制包的时候报错

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."
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."

解决办法:

  • 把图片的名称改为Default-568.png,尺寸大小为320*568
  • 把图片放到工程的根目录下
  • 修改工程plist文件,加入
<key>UILaunchImageskey>
<array>
    <dict>
        <key>UILaunchImageNamekey>
        <string>Default-568string>
        <key>UILaunchImageSizekey>
        <string>{320, 568}string>
    dict>
array>

你可能感兴趣的:(iOS)