首页 > 移动平台 > 详细

iOS打包上传ipa文件时,报错<ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps......>的解决方案

时间:2018-01-31 19:09:17      阅读:3484      评论:0      收藏:0      [点我收藏+]

很长一段时间习惯了用企业级证书发布,最近的新项目使用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 apps......>的解决方案

原文:https://www.cnblogs.com/dev1024/p/8393711.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!