我在App Store中发布应用程序时遇到问题。支持iTunes立即拒绝该应用程序,并且"代码级支持"两个月没有回答。
iTunes支持回复以下消息,简要介绍拒绝:
表现 - 2.3
我们无法在iPhone 6s和iPad Air上安装该应用程序。 Info.plist中的UIRequiredDeviceCapabilities键设置为不会在iPhone 6s和iPad Air上安装该应用程序。
后续步骤
请检查UIRequiredDeviceCapabilities项,以验证它是否仅包含应用功能所需的属性或设备上不得出现的属性。如果需要,字典指定的属性应设置为true,如果设备上不存在属性,则应设置为false。
App在iPhone 6s和iPad Air上运行正常,使用Xcode" Build Configuration" => "推出"
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>en</string>
<key>CFBundleDisplayName</key>
<string>wHere is 24 - POI Search</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIcons</key>
<dict/>
<key>CFBundleIcons~ipad</key>
<dict/>
<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>2</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>Zezwól, aby móc zrobić zdjęcie.</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Aplikacja wymaga dostępu do GPS, inaczej nie będzie poprawnie działać.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Aplikacja wymaga dostępu do GPS, inaczej nie będzie poprawnie działać.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Zezwól, aby móc wybrać zdjęcie z galerii zdjęć.</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIMainStoryboardFile</key>
<string>MainApp</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UIRequiresFullScreen</key>
<true/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</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>
<key>AppleLanguages</key>
<array>
<string>en</string>
</array>
</dict>
</plist>
答案 0 :(得分:1)
UIRequiredDeviceCapabilities
密钥本质上是指仅安装在具有armv7处理器的设备上。尝试从armv7
info.plist
密钥