问题描述
遇到一个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 valuesetto{320,568}. Launch images must be PNG filesandlocatedatthe top-levelofyour bundle,orprovidedwithineach.lproj folderifyou localize your launch images. Learn more about iPhone5supportandapp launch imagesbyreviewing the'iOS Human Interface Guidelines'athttps://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."
ERROR ITMS-90096: "YourbinaryisnotoptimizedforiPhone5-NewiPhone appsandapp updates submitted must support the4-inch displayoniPhone5andmustincludea launch imagereferencedinthe Info.plistunderUILaunchImageswitha UILaunchImageSizevaluesetto{320,568}. Launch images must be PNG filesandlocatedatthe top-levelofyour bundle,orprovidedwithineach.lproj folderifyou localize your launch images. Learn more about iPhone5supportandapp launch imagesbyreviewing the'iOS Human Interface Guidelines'athttps://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."
解决办法:
把图片的名称改为Default-568.png,尺寸大小为320*568
把图片放到工程的根目录下
修改工程plist文件,加入
UILaunchImagesUILaunchImageNameDefault-568UILaunchImageSize{320, 568}
网友评论