ARKit Unable to run the session, configuration is

2019-01-25 07:12发布

Using ARWorldTrackingSessionConfiguration get and error on iPhone 6 plus Unable to run the session, configuration is not supported on this device

What can it be?

标签: ios ios11 arkit
1条回答
何必那么认真
2楼-- · 2019-01-25 08:00

Here is Apple's document for 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.

You can check ARKit support programatically at runtime using 'isSupported` property of ARConfiguration.

ARConfiguration.isSupported

if (ARConfiguration.isSupported) {
    // ARKit is supported. You can work with ARKit
} else {
    // ARKit is not supported. You cannot work with ARKit
}

Following iOS devices (with iOS 11 installed) are supporting ARKit:

  • iPhone X
  • iPhone 8 and 8 Plus
  • iPhone 6S and 6S Plus
  • iPhone 7 and 7 Plus
  • iPhone SE
  • iPad Pro (9.7, 10.5 or 12.9)
  • iPad (2017, 2018)

Here are some reference links related to ARKit Support & iOS device configurations:

ARKit runs on the Apple A9 and A10 & A11 Bionic chip processors.
iPhone Models - (Chip)
iPad Models - (Chip)

查看更多
登录 后发表回答