ARKit 无法运行会话,此设备不支持配置 [英] ARKit Unable to run the session, configuration is not supported on this device
问题描述
在 iPhone 6 plus 上使用 ARWorldTrackingSessionConfiguration 获取和错误无法运行会话,此设备不支持配置
Using ARWorldTrackingSessionConfiguration get and error on iPhone 6 plus
Unable to run the session, configuration is not supported on this device
它可能是什么?
推荐答案
这是 Apple 的 ARKit 和设备支持文档
Here is Apple's document for ARKit and device support
ARKit 需要配备 A9 或更高版本处理器的 iOS 设备.使您的应用仅在支持 ARKit 的设备上可用,请使用 arkit 密钥在应用程序的 Info.plist 的 UIRequiredDeviceCapabilities 部分.如果增强现实是您应用的次要功能,请使用isSupported 属性判断当前设备是否支持您要使用的会话配置.
ARKit requires an iOS device with an A9 or later processor. To make your app available only on devices supporting ARKit, use the arkit key in the UIRequiredDeviceCapabilities section of your app's Info.plist. If augmented reality is a secondary feature of your app, use the isSupported property to determine whether the current device supports the session configuration you want to use.
您可以在运行时使用 ARConfiguration 的isSupported"属性以编程方式检查 ARKit 支持.
You can check ARKit support programatically at runtime using 'isSupported` property of ARConfiguration.
if (ARConfiguration.isSupported) {
// ARKit is supported. You can work with ARKit
} else {
// ARKit is not supported. You cannot work with ARKit
}
以下 iOS 设备(安装了 iOS 11)支持 ARKit:
Following iOS devices (with iOS 11 installed) are supporting ARKit:
- iPhone X
- iPhone 8 和 8 Plus
- iPhone 6S 和 6S Plus
- iPhone 7 和 7 Plus
- iPhone SE
- iPad Pro(9.7、10.5 或 12.9)
- iPad(2017 年、2018 年)
这里有一些与 ARKit 支持相关的参考链接iOS 设备配置:
Here are some reference links related to ARKit Support & iOS device configurations:
ARKit 在 Apple A9 和 A10 上运行A11 仿生芯片 处理器.
iPhone 型号 -(芯片)
iPad 型号 -(芯片)
ARKit runs on the Apple A9 and A10 & A11 Bionic chip processors.
iPhone Models - (Chip)
iPad Models - (Chip)
这篇关于ARKit 无法运行会话,此设备不支持配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!