iOS打包上传ipa文件时,报错<ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone a
Posted 简单
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iOS打包上传ipa文件时,报错<ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone a相关的知识,希望对你有一定的参考价值。
很长一段时间习惯了用企业级证书发布,最近的新项目使用Xcode 9.1发布到AppStore时遇到了一个小问题(emm..其实问题跟Xcode版本没关系,我也不知道为什么要声明这个233),如下:
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."
字面意思来看,是果爹砍了iPhone4系列之后,仍旧需要开发者们适配iPhone5系列(os:如果库克不是为了卖SE他会保留5系手机?)
废话不多说了,其实这个问题只需要在Asset的LaunchImage的右侧勾选iOS7 and Later的portrait选项,那么LaunchImage就会多出两个需要插入启动图的位置(2x和Retina 4)
我这里只添加了Retina 4的尺寸图,也就是640x1136大小,clean一下重新打包即可
如下图所示
以上是关于iOS打包上传ipa文件时,报错<ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone a的主要内容,如果未能解决你的问题,请参考以下文章
2017最新xcode打包IPA上传App Store完整教程