crash in scanner sample code for iPad Air 2


#1

I built unmodified “Scanner” sample code from 0.81 sdk for “iPad Air 2”, it crashes with error
2019-01-03 15:04:57.438307-0800 Scanner[546:26330] *** Terminating app due to uncaught exception ‘AVCameraCalibration’, reason: 'We want to use AV Intrinsics, but we’re not getting them! Make sure that you have set conn.cameraIntrinsicsMatrixDeliveryEnabled = YES on the AVCaptureConnection object (before you commit the AVCaptureSession configuration).'

conn.cameraIntrinsicMatrixDeliveryEnabled = YES is not stepped in, maybe isCameraIntrinsicMatrixDeliverySupported is not supported for iPad Air 2.

but the scanner app downloaded from App Store works okay.

I built the Scanner sample code with Xcode 10 under Mojave, the built app works also in iPad Pro 9.7


#2

This is an issue that has been brought up before in previous posts. We are currently working on a fix that will be ready for the next release.

For more information, please have a look at the following forum posts:


#3