问题描述,在xcode8打包没问题,但是在xcode9打包的时候就报这个错
ERROR ITMS-90096:"Your binary is not optimized for iPhone 5 - New iPhone apps and appupdates submitted must support the 4-inch display on iPhone 5 and must includea launch image referenced in the Info.plist under UILaunchImages with aUILaunchImageSize value set to {320, 568}. Launch images must be PNG files andlocated at the top-level of your bundle, or provided within each .lproj folderif you localize your launch images. Learn more about iPhone 5 support and applaunch images by reviewing the 'iOS Human Interface Guidelines' athttps://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."
网上的解决方法是需要单独添加针对iPhone5的载入图片。关键点有三项:
1.图片的名称必须叫Defatult-568.png.
2.必须把图片放在工程的根目录下
3.图片尺寸必须是320*568
然后在plist中添加
按照网上的说法依旧解决不了,折腾了半天,查看原来是自己的LaunchImage命名不规范造成的,删掉之前的LaunchImage文件,重新命名在拖进去重新打包就可以了具体命名规则: