1. 程式人生 > >iOS打包上傳ipa文件時,報錯<ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps......>的解決方案

iOS打包上傳ipa文件時,報錯<ERROR ITMS-90096: "Your binary is not optimized for iPhone 5 - New iPhone apps......>的解決方案

splay update 分享圖片 trait tin log .com bmi graphic

很長一段時間習慣了用企業級證書發布,最近的新項目使用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......>的解決方案