iPhone 应用程序因 UIRequiredDeviceCapability 而被拒绝

标签 iphone app-store info-plist

这是我两次因拒绝而从苹果收到此消息。


来自苹果

2.3 - 性能不符合开发者宣传的应用程序将被拒绝

2.3 详细信息

我们尝试审核您的应用,但无法在 iPhone 上安装该应用。 Info.plist 中的 UIRequiredDeviceCapability 键的设置方式使得该应用程序不会安装在 iPhone 上。

后续步骤

请检查 UIRequiredDeviceCapability 键以验证它是否仅包含您的应用功能所需的属性或设备上不得存在的属性。如果字典指定的属性是必需的,则应将其设置为 true;如果设备上不得存在,则应将其设置为 false。


这是我提交的 info.plist。查看他们所说的问题所在的关键“UIRequiredDeviceCapability”。

<?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>

最佳答案

您需要使用 <string>armv7</string><string>armv6</string>出来。

UIRequiredDeviceCapabilities您是说该应用程序仅适用于具有列出的功能的设备。因此,您是说您只支持 armv6 的设备和armv7 ,这是矛盾的。

请注意,如果您的应用程序可以在没有 gps 的情况下运行(例如在 iPod Touch 上)那么您也需要将这些按键取出,只有在您绝对需要时才将它们放在那里。

关于iPhone 应用程序因 UIRequiredDeviceCapability 而被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36591243/

相关文章:

objective-c - 在购买的应用程序中无法实时运行

ios - 远程推送通知是否需要在 Info.plist 中添加 UIBackgroundModes?

ios - 什么定义了 UIScrollView 分页大小?

ios - 有什么方法可以在 appdelegate 中为项目中的所有 UIImage 属性使用 `UIImageRenderingModeAlwaysOriginal`

iphone - iPhone 应用程序在首次启动时要求登录是否可以接受?

ios - 当应用程序名称在 InfoPlist.strings 中本地化时,不同的应用程序名称取决于配置

cocoa 和可执行文件

iphone - 如何在 iOS 上获取 html 文件中标签内的属性?

iphone - 如何在 UIView 上应用不透明度渐变?

iphone - 苹果是否接受具有隐藏功能的iPhone App?