gpt4 book ai didi

ios - 无法在 iPhone 和 iPad 上安装该应用程序

转载 作者:行者123 更新时间:2023-11-29 00:02:41 25 4
gpt4 key购买 nike

我向 App Store 提交了应用程序,但两次被拒绝,因为他们无法在 iPhone 和 iPad 上安装该应用程序。他们表示,Info.plist 中的 UIRequiredDeviceCapability 键的设置方式使得该应用程序无法安装在 iPhone 和 iPad 上。

他们写道接下来的步骤是:

To resolve this issue, please check the UIRequiredDeviceCapabilities key to verify that it contains only the attributes required for your app features or the attributes that must not be present on the device. Attributes specified by a dictionary should be set to true if they are required and false if they must not be present on the device.

首次提交后,我完全删除了 UIRequiredDeviceCapability key ,但他们仍然无法安装它。

我没有 iPhone 或 iPad,我在模拟器上测试了应用程序,它运行正常。

这是我的 info.plist:

<?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>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</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.0</string>
<key>CFBundleVersion</key>
<string>3</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiresFullScreen</key>
<false/>
<key>UIStatusBarHidden</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

有谁知道如何修改它以便可以安装在iPhone和iPad上吗?

最佳答案

UIRequiredDeviceCapabilities 必须出现在您的 Info.plist 中,根据 the documentation .

在我在 App Store 上的所有应用中,这是我拥有的:

<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>

所以我建议您尝试一下。

关于ios - 无法在 iPhone 和 iPad 上安装该应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49034950/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com