【问题标题】:ARKit Unable to run the session, configuration is not supported on this deviceARKit 无法运行会话,此设备不支持配置
【发布时间】:2017-06-16 13:38:24
【问题描述】:

在 iPhone 6 plus 上使用 ARWorldTrackingSessionConfiguration 获取和错误 Unable to run the session, configuration is not supported on this device

会是什么?

【问题讨论】:

  • ARKit 不支持 iphone 6 plus
  • 这确实很奇怪,因为 ARKit 在 iPhone 6 plus 上运行,但自从上次更新到更新版本的 ios11 后,支持停止了......

标签: ios ios11 arkit


【解决方案1】:

这是 Apple 为 ARKit and device support 提供的文档

ARKit 需要配备 A9 或更高版本处理器的 iOS 设备。做 您的应用程序仅在支持 ARKit 的设备上可用,请使用 arkit 密钥 在您应用的 Info.plist 的 UIRequiredDeviceCapabilities 部分中。 如果增强现实是您应用的次要功能,请使用 isSupported 属性判断当前设备是否支持 您要使用的会话配置。

您可以在运行时使用 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 Pro(9.7、10.5 或 12.9)
  • iPad(2017 年、2018 年)

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

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

【讨论】:

  • 是的,iPad Pro 可以使用,谢谢! drive.google.com/file/d/0B3uhQT02uS0fOG5NZ2Y5bE9tYzQ/…
  • @Zaid Khan iPhone 6 配备 Apples A8 芯片组。根据 Apple 文档,ARKit 仅在 Apple A9、A10 和 A11 芯片上运行。
  • @KrishnarjunBanoth 是的,但是当我使用早期的 iO​​S11 beta-5 时,ARKit 就在其中工作。
  • @Zaid Khan 关于你的问题我没有找到特别的解决方案,可能是苹果只能回答这个问题。
  • @KrishnarjunBanoth 谢谢,不用担心。
猜你喜欢
  • 1970-01-01
  • 2022-06-14
  • 1970-01-01
  • 2017-12-10
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-06-04
  • 2019-02-08
相关资源
最近更新 更多