2016-06-23 40 views
0

我們有一個IOS應用程序,我們希望在APP應用商店發佈應用程序在測試設備等工作正常,但是當我們試圖上傳應用程序在App Store中,我們發現了以下錯誤錯誤ITMS-90096:「您的二進制文件未針對iPhone 5進行優化 - 提交的新iPhone應用程序和應用程序更新必須支持4英寸顯示器

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}. 

這似乎是一個生成或應用程序的配置問題,我們無法弄清楚

並且我們的啓動屏幕沒有本地化

我們正在針對iOS 7.0構建,我們正在使用.xib或.storyboard

我們已經通過名稱Default-568h.png尺寸爲(320×568)創建了一個PNG文件,並將它放置在兩個位置1)在Base .Iproj和2)在Images.xcassets/LaunchImage.launchimage

我們還增加了以下對我們的Info.plist

<key>UILaunchImages</key> 
     <array> 
     <dict> 
      <key>UILaunchImageMinimumOSVersion</key> 
      <string>7.0</string> 
      <key>UILaunchImageName</key> 
      <string>Default-568h</string> 
      <key>UILaunchImageOrientation</key> 
      <string>Portrait</string> 
      <key>UILaunchImageSize</key> 
      <string>{320, 568}</string> 
     </dict> 
     </array> 

但是它仍然沒有工作

+0

你見過http://stackoverflow.com/questions/23780432/xcode-error-while-validation-your-binary-is-not-optimized-for-iphone-5 – Code

+0

@代碼:是的,我們有遵循了這篇文章中提到的所有建議。 – Himanshu

+0

您是否已將所有受支持設備的圖片上傳到應用商店?像4s,5s,6s和iPad一樣? –

回答

0

您還需要@ 2倍版本640x1136尺寸。或者只設置最低版本8.0,這個錯誤將被忽略

+0

我們已經在兩個位置添加了[email protected],這兩個位置都是 1)在Base.Iproj和 2)在Images.xcassets/LaunchImage.launchimage 但是,在信息plist文件中,我沒有添加對Default- [email protected] – Himanshu

0
  1. 驗證添加的所有圖像。PNG
  2. 確認這些圖片應該是在項目
  3. 的根級別添加另一個閃屏名稱爲「 [email protected]「用於iPhone 5.它的尺寸應該是640×1136像素。
+0

我們有兩個圖像,都是名爲Default-568h.png的尺寸爲(320×568)的.png,我們也有這個尺寸爲640×1136像素的名稱[email protected] 什麼是你是指該項目的根?我們已經添加這些文件1)在Base.Iproj和 2)在Images.xcassets/LaunchImage.launchimage – Himanshu

+0

根意味着你的項目包。 –

相關問題