由于UIRequiredDeviceCapabilities,iPhone App被拒绝

时间:2016-04-13 07:19:41

标签: iphone app-store info-plist

这是我从苹果收到此消息的两倍,因为拒绝。

来自Apple

2.3 - 未按开发者宣传的效果的应用将被拒绝

2.3详细信息

我们尝试检查您的应用,但无法在iPhone上安装该应用。 Info.plist中的UIRequiredDeviceCapabilities键设置为不会在iPhone上安装该应用程序。

后续步骤

请检查UIRequiredDeviceCapabilities项,以验证它是否仅包含应用功能所需的属性或设备上不得出现的属性。如果需要,字典指定的属性应设置为true,如果设备上不存在属性,则应设置为false。

这是我提交的info.plist。看看关键的“UIRequiredDeviceCapabilities”'他们说问题在哪里。

<?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>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>
    <key>CFBundleIcons</key>
    <dict/>
    <key>CFBundleIcons~ipad</key>
    <dict/>
    <key>CFBundleIdentifier</key>
    <string>com.yourvoice.chatomic</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>$(PRODUCT_NAME)</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>1.3</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>107</string>
    <key>Fabric</key>
    <dict>
        <key>APIKey</key>
        <string>f1e34e6abf0c05dfe5254ef3cc5debf97924e90b</string>
        <key>Kits</key>
        <array>
            <dict>
                <key>KitInfo</key>
                <dict/>
                <key>KitName</key>
                <string>Crashlytics</string>
            </dict>
        </array>
    </dict>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>Allow to use current location?</string>
    <key>UIAppFonts</key>
    <array>
        <string>OpenSans-Light.ttf</string>
        <string>OpenSans-Semibold.ttf</string>
        <string>OpenSans-Bold.ttf</string>
        <string>OpenSans-Italic.ttf</string>
        <string>OpenSans-Regular.ttf</string>
    </array>
    <key>UIBackgroundModes</key>
    <array>
        <string>fetch</string>
        <string>voip</string>
    </array>
    <key>UILaunchStoryboardName</key>
    <string>ActivityIndicatorView</string>
    <key>UIMainStoryboardFile</key>
    <string>MainChatomicStoryboard</string>
    <key>UIRequiredDeviceCapabilities</key>
    <array>
        <string>armv7</string>
        <string>armv6</string>
        <string>gps</string>
        <string>location-services</string>
        <string>wifi</string>
    </array>
    <key>UIStatusBarStyle</key>
    <string>UIStatusBarStyleLightContent</string>
    <key>UISupportedInterfaceOrientations</key>
    <array>
        <string>UIInterfaceOrientationPortrait</string>
        <string>UIInterfaceOrientationPortraitUpsideDown</string>
    </array>
    <key>UIViewControllerBasedStatusBarAppearance</key>
    <false/>
</dict>
</plist>

1 个答案:

答案 0 :(得分:3)

您需要取出<string>armv7</string><string>armv6</string>

使用UIRequiredDeviceCapabilities,您说该应用仅适用于具有列出功能的设备。因此,您说您只支持armv6armv7的设备,这是相互矛盾的。

作为一个注释,如果你的应用程序可以在没有gps的情况下运行(例如在iPod Touch上),那么你也会想要取出这些密钥,如果你绝对需要它们,只能将它们放在那里。