2014-05-09 60 views
0

這裏的人是有同樣的問題,但與PhoneGap的:PhoneGap Launch Image iOS Apple Store Submission的iOS 7應用程序提交錯誤啓動圖像

我想提出我的應用程序(目標iOS7,iPhone只),我使用.xcassets文件夾中的 應用程序圖標和啓動圖像。
當我點擊提交我收到以下錯誤:

First error

Second Error

我檢查了我的歸檔應用程序的plist文件,它已經擁有像 UILaunchImage必需的密鑰,UILaunchImageSize。在這裏看到:

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 
<plist version="1.0"> 
<dict> 
    <key>BuildMachineOSBuild</key> 
    <string>14C323</string> 
    <key>CFBundleDevelopmentRegion</key> 
    <string>en</string> 
    <key>CFBundleDisplayName</key> 
    <string>MyApp</string> 
    <key>CFBundleExecutable</key> 
    <string>MyApp</string> 
    <key>CFBundleIcons</key> 
    <dict> 
     <key>CFBundlePrimaryIcon</key> 
     <dict> 
      <key>CFBundleIconFiles</key> 
      <array> 
       <string>AppIcon29x29</string> 
       <string>AppIcon40x40</string> 
       <string>AppIcon60x60</string> 
      </array> 
     </dict> 
    </dict> 
    <key>CFBundleIdentifier</key> 
    <string>com.MyApp</string> 
    <key>CFBundleInfoDictionaryVersion</key> 
    <string>6.0</string> 
    <key>CFBundleName</key> 
    <string>MyApp</string> 
    <key>CFBundlePackageType</key> 
    <string>APPL</string> 
    <key>CFBundleResourceSpecification</key> 
    <string>ResourceRules.plist</string> 
    <key>CFBundleShortVersionString</key> 
    <string>1.0</string> 
    <key>CFBundleSignature</key> 
    <string>????</string> 
    <key>CFBundleSupportedPlatforms</key> 
    <array> 
     <string>iPhoneOS</string> 
    </array> 
    <key>CFBundleVersion</key> 
    <string>1.0</string> 
    <key>DTCompiler</key> 
    <string>com.apple.compilers.llvm.clang.1_0</string> 
    <key>DTPlatformBuild</key> 
    <string>11B506</string> 
    <key>DTPlatformName</key> 
    <string>iphoneos</string> 
    <key>DTPlatformVersion</key> 
    <string>7.0</string> 
    <key>DTSDKBuild</key> 
    <string>11B506</string> 
    <key>DTSDKName</key> 
    <string>iphoneos7.0</string> 
    <key>DTXcode</key> 
    <string>0502</string> 
    <key>DTXcodeBuild</key> 
    <string>5A3005</string> 
    <key>LSRequiresIPhoneOS</key> 
    <true/> 
    <key>MinimumOSVersion</key> 
    <string>7.0</string> 
    <key>UIDeviceFamily</key> 
    <array> 
     <integer>1</integer> 
    </array> 
    <key>UILaunchImages</key> 
    <array> 
     <dict> 
      <key>UILaunchImageMinimumOSVersion</key> 
      <string>7.0</string> 
      <key>UILaunchImageName</key> 
      <string>LaunchImage-700</string> 
      <key>UILaunchImageOrientation</key> 
      <string>Portrait</string> 
      <key>UILaunchImageSize</key> 
      <string>{320, 480}</string> 
     </dict> 
     <dict> 
      <key>UILaunchImageMinimumOSVersion</key> 
      <string>7.0</string> 
      <key>UILaunchImageName</key> 
      <string>LaunchImage-700-568h</string> 
      <key>UILaunchImageOrientation</key> 
      <string>Portrait</string> 
      <key>UILaunchImageSize</key> 
      <string>{320, 568}</string> 
     </dict> 
    </array> 
    <key>UIMainStoryboardFile</key> 
    <string>Main_iPhone</string> 
    <key>UIRequiredDeviceCapabilities</key> 
    <array> 
     <string>armv7</string> 
    </array> 
    <key>UISupportedInterfaceOrientations</key> 
    <array> 
     <string>UIInterfaceOrientationPortrait</string> 
    </array> 
</dict> 
</plist> 

我不知道什麼錯誤,爲什麼蘋果拒絕它作爲LaunchImage鍵蘋果抱怨在這裏。

我已經試圖解決這個問題,因爲好幾天,但無法弄清楚。 任何幫助,非常感謝!
我該如何解決這個問題?

謝謝!

+0

在Xcode中,轉到項目的General標籤。查看「啓動圖像」部分。它是否表明您已正確設置iPhone「Retina 4英寸」圖像? – rmaddy

+0

你可以發佈Xcode項目文件夾的截圖來檢查你的圖像是否在正確的位置? –

回答

0

檢查您的設備是否支持新的iPhone 5高度,並確保您有兩個啓動圖像。

0

你需要的是3種的iPhone的圖片,

  1. 爲Default.png(320X480)
  2. [email protected](640×960)
  3. [email protected](640X1136 )

如果您將所有啓動的圖像命名爲上述圖像並將它們拉入項目,它們將自動添加爲啓動圖像。

相關問題