iOS 7 App提交错误启动图像

时间:2014-05-09 19:02:35

标签: ios ios7 deployment app-store

  

这是一个有同样问题的人,但使用PhoneGap:PhoneGap Launch Image iOS Apple Store Submission

我想提交我的应用程序(目标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>

我不知道出了什么问题以及为什么Apple拒绝它,因为LaunchImage关键苹果抱怨的是这里。

我已经尝试解决这个问题几天了,但无法弄明白。 非常感谢任何帮助!
我该怎么解决这个问题?

谢谢!

2 个答案:

答案 0 :(得分:0)

检查您的设备是否支持新的iPhone 5高度,并确保您拥有这两种设备的启动图像。

答案 1 :(得分:0)

你需要的是iPhone的三种图像,

  1. Default.png(320X480)
  2. Default@2x.png(640X960)
  3. Default-568h@2x.png(640X1136)
  4. 如果您按上述名称命名所有启动图像并将其拉入项目,它们将自动添加为您的启动图像。