montaguegabe / arkit-virtual-backdrop

Superimposes your image into a 3D world using Metal+Arkit
87 stars 6 forks source link

Cannot launch this app? #1

Open hitzhangjie opened 6 years ago

hitzhangjie commented 6 years ago

Hi, I want to test this app, but I knows little about iOS development. When I use xcode and a real iPhone 6s to test, xcode outputs following debugging information, this app is not launched successfully. Please help, Thanks!

Xcode outputs following debugging information:

2018-06-24 14:17:30.402621+0800 Backdrop Demo[5498:2198260] [DYMTLInitPlatform] platform initialization successful 2018-06-24 14:17:31.042208+0800 Backdrop Demo[5498:2198007] Metal GPU Frame Capture Enabled 2018-06-24 14:17:31.044135+0800 Backdrop Demo[5498:2198007] Metal API Validation Enabled 2018-06-24 14:17:31.682183+0800 Backdrop Demo[5498:2198007] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2018-06-24 14:17:31.682790+0800 Backdrop Demo[5498:2198007] [MC] Reading from public effective user settings. 2018-06-24 14:17:31.695632+0800 Backdrop Demo[5498:2198007] [General] No image capture device found. 2018-06-24 14:17:31.846104+0800 Backdrop Demo[5498:2198007] [Session] ARSession (0x13bd12420): Unable to run the session, configuration is not supported on this device: <ARFaceTrackingConfiguration: 0x1c028fc30 worldAlignment=Gravity lightEstimation=Enabled> 2018-06-24 14:17:31.853462+0800 Backdrop Demo[5498:2198007] [Session] Session (0x13bd12420): did fail with error: Error Domain=com.apple.arkit.error Code=100 "Unsupported configuration." UserInfo={NSLocalizedDescription=Unsupported configuration., NSLocalizedFailureReason=The provided configuration is not supported on this device.}

montaguegabe commented 6 years ago

Hi @hitzhangjie unfortunately you need an iPhone X to run the code. It relies on the infrared front-facing camera for depth images.

hitzhangjie commented 6 years ago

@montaguegabe Thank you very much.