Log in or register to post comments

ModelTargets example app not initialising

February 20, 2018 - 12:12am #1

Having troubles initializing the Vuforia SDK version 7.6.13, iOS v11.2.5 on iPhone 7+

Logs:

2018-02-20 08:58:25.964241+0100 ModelTargets[2310:787528] [DYMTLInitPlatform] platform initialization successful

2018-02-20 08:58:26.165512+0100 ModelTargets[2310:787496] [MC] Lazy loading NSBundle MobileCoreServices.framework

2018-02-20 08:58:26.166530+0100 ModelTargets[2310:787496] [MC] Loaded MobileCoreServices.framework

2018-02-20 08:58:26.227843+0100 ModelTargets[2310:787533] Metal GPU Frame Capture Enabled

2018-02-20 08:58:26.230169+0100 ModelTargets[2310:787533] Metal API Validation Enabled

2018-02-20 08:58:28.207788+0100 ModelTargets[2310:787496] ERROR: failed to set the device mode

2018-02-20 08:58:28.208002+0100 ModelTargets[2310:787496] ERROR/AR(0) 2018-02-21 08:58:28: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

2018-02-20 08:58:28.228570+0100 ModelTargets[2310:787496] magicNumber: 12345678

2018-02-20 08:58:28.228645+0100 ModelTargets[2310:787496] version: 0.10000

2018-02-20 08:58:28.228678+0100 ModelTargets[2310:787496] nbVertices: 295611

2018-02-20 08:58:28.228784+0100 ModelTargets[2310:787496] nbFaces: 98537

2018-02-20 08:58:28.228830+0100 ModelTargets[2310:787496] nbMaterials: 1

2018-02-20 08:58:28.287777+0100 ModelTargets[2310:787496] First vertex    -0.000099    -0.069565    -0.036561

2018-02-20 08:58:28.343269+0100 ModelTargets[2310:787496] First normal    -0.006500     0.077001    -0.997010

2018-02-20 08:58:28.414797+0100 ModelTargets[2310:787496] First material and shininess:     0.000000     0.000000

2018-02-20 08:58:28.414849+0100 ModelTargets[2310:787496] First ambient color:     0.200000     0.200000     0.200000     1.000000

2018-02-20 08:58:28.414864+0100 ModelTargets[2310:787496] First specular color:     1.000000     1.000000     1.000000     1.000000

2018-02-20 08:58:28.414875+0100 ModelTargets[2310:787496] First material diffuse texture index:0 , 98536

2018-02-20 08:58:28.414890+0100 ModelTargets[2310:787496] magicNumber (end): 12345678

2018-02-20 08:58:28.414900+0100 ModelTargets[2310:787496] initShaders

2018-02-20 08:58:28.415082+0100 ModelTargets[2310:787496] debug: shaderName=(DiffuseLight), shaderFileTYpe=(vertsh)

2018-02-20 08:58:28.415184+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/DiffuseLight.vertsh)

2018-02-20 08:58:28.417733+0100 ModelTargets[2310:787496] debug: shaderName=(DiffuseLight), shaderFileTYpe=(fragsh)

2018-02-20 08:58:28.417832+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/DiffuseLight.fragsh)

2018-02-20 08:58:28.421429+0100 ModelTargets[2310:787496] >GL> objMtlVertexHandle= -1

2018-02-20 08:58:28.421455+0100 ModelTargets[2310:787496] >GL> objMtlExtra= -1

2018-02-20 08:58:28.424284+0100 ModelTargets[2310:787496] end of initShaders

2018-02-20 08:58:28.424364+0100 ModelTargets[2310:787496] debug: shaderName=(DiffuseLight), shaderFileTYpe=(vertsh)

2018-02-20 08:58:28.424443+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/DiffuseLight.vertsh)

2018-02-20 08:58:28.424599+0100 ModelTargets[2310:787496] debug: shaderName=(DiffuseLight), shaderFileTYpe=(fragsh)

2018-02-20 08:58:28.424636+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/DiffuseLight.fragsh)

2018-02-20 08:58:28.424802+0100 ModelTargets[2310:787496] debug: shaderName=(Simple), shaderFileTYpe=(vertsh)

2018-02-20 08:58:28.424845+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/Simple.vertsh)

2018-02-20 08:58:28.426793+0100 ModelTargets[2310:787496] debug: shaderName=(SimpleTexturedColor), shaderFileTYpe=(fragsh)

2018-02-20 08:58:28.426874+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/SimpleTexturedColor.fragsh)

2018-02-20 08:58:28.428876+0100 ModelTargets[2310:787496] debug: shaderName=(Background), shaderFileTYpe=(vertsh)

2018-02-20 08:58:28.428959+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/Background.vertsh)

2018-02-20 08:58:28.430097+0100 ModelTargets[2310:787496] debug: shaderName=(Background), shaderFileTYpe=(fragsh)

2018-02-20 08:58:28.430168+0100 ModelTargets[2310:787496] debug: shaderPath=(/var/containers/Bundle/Application/B6B499C9-2221-47A2-81F3-1A4F83208A8E/ModelTargets.app/Background.fragsh)

2018-02-20 08:58:28.481791+0100 ModelTargets[2310:787571] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

2018-02-20 08:58:28.484231+0100 ModelTargets[2310:787571] [MC] Reading from public effective user settings.

2018-02-20 08:58:28.539905+0100 ModelTargets[2310:787496] ERROR: failed to get the tracker from the tracker manager

2018-02-20 08:58:29.829507+0100 ModelTargets[2310:787496] ERROR/AR(2310) 2018-02-21 08:58:29: CameraDevice::getCameraCalibration(): Failed to get camera calibration because the camera is not initialized.

2018-02-20 08:58:29.829541+0100 ModelTargets[2310:787496] ERROR/AR(2310) 2018-02-21 08:58:29: You must successfully set a mode with Device.setMode before retrieving RenderingPrimitives

2018-02-20 08:58:29.833236+0100 ModelTargets[2310:787571] INFO/AR(2310) 2018-02-21 08:58:29: Vuforia selected rendering API OpenGL ES 2.x

2018-02-20 08:58:29.833412+0100 ModelTargets[2310:787571] INFO/AR(2310) 2018-02-21 08:58:29: Vuforia SDK version 7.6.13

2018-02-20 08:58:29.899225+0100 ModelTargets[2310:787571] Rendering mode set to: OpenGL ES 2.0

=================================================================

Main Thread Checker: UI API called on a background thread: -[UIView viewWithTag:]

PID: 2310, TID: 787571, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 21

Backtrace:

4   ModelTargets                        0x0000000104cfb4f4 -[ModelTargetsViewController onInitARDone:] + 80

5   ModelTargets                        0x0000000104cf5888 -[SampleApplicationSession initVuforiaInBackground] + 2208

6   Foundation                          0x0000000186db70f4 <redacted> + 996

7   libsystem_pthread.dylib             0x0000000185fe42b4 <redacted> + 308

8   libsystem_pthread.dylib             0x0000000185fe4180 <redacted> + 0

9   libsystem_pthread.dylib             0x0000000185fe2b74 thread_start + 4

2018-02-20 08:58:29.902816+0100 ModelTargets[2310:787571] [reports] Main Thread Checker: UI API called on a background thread: -[UIView viewWithTag:]

PID: 2310, TID: 787571, Thread name: (none), Queue name: com.apple.root.default-qos.overcommit, QoS: 21

Backtrace:

4   ModelTargets                        0x0000000104cfb4f4 -[ModelTargetsViewController onInitARDone:] + 80

5   ModelTargets                        0x0000000104cf5888 -[SampleApplicationSession initVuforiaInBackground] + 2208

6   Foundation                          0x0000000186db70f4 <redacted> + 996

7   libsystem_pthread.dylib             0x0000000185fe42b4 <redacted> + 308

8   libsystem_pthread.dylib             0x0000000185fe4180 <redacted> + 0

9   libsystem_pthread.dylib             0x0000000185fe2b74 thread_start + 4

2018-02-20 08:58:29.975860+0100 ModelTargets[2310:787571] Error initializing AR:Error Domain=vuforia_sample_application Code=-1 "Initialization error" UserInfo={NSLocalizedDescription=Initialization error}

2018-02-20 08:58:31.359752+0100 ModelTargets[2310:787496] ERROR: failed to get the tracker from the tracker manager

ModelTargets example app not initialising

February 20, 2018 - 2:43pm #2

Hello innovationrocks,

Please refer to the following sticky in the CAD EAP forum: https://developer.vuforia.com/forum/cad-eap/please-read-76-eap-sdk-no-longer-functional-after-feb-15

Thanks,

Vuforia Support

Log in or register to post comments