【发布时间】:2016-08-25 01:54:06
【问题描述】:
我正在尝试将 iOS 应用程序上传到 iTunes Connect,但是每次尝试上传应用程序时都会收到以下消息:
性能 - 2.3
我们无法安装该应用。 UIRequiredDeviceCapabilities Info.plist 中的键设置为应用程序不会 安装。
接下来的步骤
请检查 UIRequiredDeviceCapabilities 键以验证它 仅包含您的应用功能所需的属性或 设备上不能存在的属性。属性 如果需要,由字典指定应设置为 true 如果它们不能出现在设备上,则为 false。
我不明白我在 UIRequiredDeviceCapabilities 上做错了什么。
我的应用程序要求设备具有摄像头,因为它涉及读取 QR 码。
以下是我的 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>UIRequiredDeviceCapabilities</key>
<array>
<string>still-camera</string>
</array>
<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>pw.whatsyourwifi.ios</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.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>5</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>LSApplicationCategoryType</key>
<string></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>
我查看了 Apple 提供的一些资源,例如: Expected App Behaviours List of Possible Values
感谢任何帮助,只是不知道我在这一点上做错了什么。
【问题讨论】:
标签: ios app-store info.plist