首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >iPhone应用程序因UIRequiredDeviceCapabilities而被拒绝

iPhone应用程序因UIRequiredDeviceCapabilities而被拒绝
EN

Stack Overflow用户
提问于 2016-04-13 07:19:40
回答 1查看 4.2K关注 0票数 2

这是我因为被拒绝而从苹果收到这条信息的两倍。

来自Apple

2.3 -不像开发人员所宣传的那样执行的应用程序将被拒绝

2.3细节

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

下一步

请检查UIRequiredDeviceCapabilities键,以验证它只包含应用程序功能所需的属性或设备上不存在的属性。如果需要,则应将字典指定的属性设置为true,如果设备上不存在这些属性,则应将其设置为false。

这是我是提交人的info.plist。看看他们说问题所在的关键'UIRequiredDeviceCapabilities‘。

代码语言:javascript
复制
<?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>
EN

回答 1

Stack Overflow用户

发布于 2016-04-13 07:22:33

你会想把<string>armv7</string><string>armv6</string>拿出来。

对于UIRequiredDeviceCapabilities,你是说该应用程序只适用于具有所列功能的设备。因此,您说您只支持armv6armv7的设备,这是矛盾的。

值得注意的是,如果你的应用程序没有gps就能运行(例如在iPod上),那么你也会想把这些键拿出来,只有在你绝对需要的时候才能把它们放进去。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/36591243

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档