gpt4 book ai didi

ios - 该 bundle 无效。 UIRequiredDeviceCapability 中提供了未知的设备功能值

转载 作者:行者123 更新时间:2023-11-29 04:16:38 25 4
gpt4 key购买 nike

当我尝试将应用程序发布到 App Store 时,我收到一条错误消息:

This bundle is invalid. An unknown device capability value is supplied in the UIRequiredDeviceCapabilities key of the Info.plist. Make certain that the value for UIRequiredDeviceCapabilities is an array or a dictionary, containing valid values as described in the Information Property List Key Reference.

有人可以帮我解决这个问题吗?

Plist 看起来像这样:

http://j.mp/V2B8lk

列表:

    <?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>CFBundleDisplayName</key>
<string>AppName</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFiles</key>
<array>
<string>114.png</string>
<string>icon.png</string>
</array>
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>114.png</string>
<string>icon.png</string>
</array>
<key>UIPrerenderedIcon</key>
<true/>
</dict>
</dict>
<key>CFBundleIdentifier</key>
<string>company.appname</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>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UIPrerenderedIcon</key>
<true/>
<key>UIRequiredDeviceCapabilities</key>
<false/>
<key>UIStatusBarTintParameters</key>
<dict>
<key>UINavigationBar</key>
<dict>
<key>Style</key>
<string>UIBarStyleDefault</string>
<key>Translucent</key>
<false/>
</dict>
</dict>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
</dict>
</plist>

最佳答案

所需的设备功能不应该是 bool 值。它应该是一个数组或字典。

不知道你是否可以在plist编辑器中修复它。如果没有,您可以在文本编辑器中打开该文件并进行如下更改:

<key>UIRequiredDeviceCapabilities</key>
<array></array>

更新

如果您不使用条目所需的设备功能,最好将其删除。

关于ios - 该 bundle 无效。 UIRequiredDeviceCapability 中提供了未知的设备功能值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13607428/

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