ARKit 无法 运行 会话,此设备不支持配置

ARKit Unable to run the session, configuration is not supported on this device

使用 ARWorldTrackingSessionConfiguration get 并在 iPhone 6 plus 上出错 Unable to run the session, configuration is not supported on this device

它可以是什么?

这是 Apple 的 ARKit and device support

文档

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 支持。

ARConfiguration.isSupported

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:

  • iPhone X
  • iPhone 8 和 8 Plus
  • iPhone 6S 和 6S Plus
  • iPhone 7 和 7 Plus
  • iPhone SE
  • iPad 专业版(9.7、10.5 或 12.9)
  • iPad (2017, 2018)

以下是一些与 ARKit 支持和 iOS 设备配置相关的参考链接:

ARKit 在 Apple A9 and A10 & A11 Bionic chip 处理器上运行。
iPhone Models - (Chip)
iPad Models - (Chip)