UIImagePickerController crash in iOS 13.

@try {
        UIImagePickerController *pickerControl = [[UIImagePickerController alloc] init];
        pickerControl.delegate = self;
        pickerControl.sourceType = UIImagePickerControllerSourceTypeCamera;
        pickerControl.cameraDevice = UIImagePickerControllerCameraDeviceRear;
        pickerControl.modalPresentationStyle = UIModalPresentationFullScreen;
        [self presentViewController:pickerControl animated:YES completion:nil];
    } @catch (NSException *exception) {

    } @finally {

    }

When use UIImagePickerController to take photos, app crashed, and I received these message from bug reported.

Incident Identifier: E062A2AB-7D70-4E48-A23A-D67CF8F169C3

Beta Identifier: 68DEC9A5-A96E-4E74-B038-27904F2F7837

Hardware Model: iPhone11,6

Process: KOOB [1376]

Path: /private/var/containers/Bundle/Application/B67FDBF8-B5C5-4C4B-867F-A7D99C4E78C4/KOOB.app/KOOB

Identifier: com.koo.koobt

Version: 19092303 (2.2.3)

AppStoreTools: 11A1002b

Beta: YES

Code Type: ARM-64 (Native)

Role: Foreground

Parent Process: launchd [1]

Coalition: com.koo.koobt [742]





Date/Time: 2019-09-23 19:26:22.2404 +0800

Launch Time: 2019-09-23 19:25:25.2853 +0800

OS Version: iPhone OS 13.0 (17A577)

Release Type: User

Baseband Version: 2.00.01-2

Report Version: 104



Exception Type: EXC_CRASH (SIGABRT)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Triggered by Thread: 0



Last Exception Backtrace:

0 CoreFoundation 0x185a9554c __exceptionPreprocess + 224 (NSException.m:199)

1 libobjc.A.dylib 0x1857b00c8 objc_exception_throw + 60 (objc-exception.mm:565)

2 CoreFoundation 0x185992330 +[NSException raise:format:arguments:] + 100 (NSException.m:146)

3 Foundation 0x185dd2368 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 132 (NSException.m:231)

4 CameraUI 0x1a750a76c -[CAMPreviewViewController _updateIndicatorsForMetadataObjectResults:viewType:viewClass:frameCall... + 988 (CAMPreviewViewController.m:1152)

5 CameraUI 0x1a750b134 -[CAMPreviewViewController _updateFaceIndicatorsForResults:] + 340 (CAMPreviewViewController.m:1288)

6 CameraUI 0x1a750afa4 -[CAMPreviewViewController captureController:didOutputFaceResults:bodyResults:] + 240 (CAMPreviewViewController.m:1261)

7 CameraUI 0x1a741f5bc -[CAMViewfinderViewController captureController:didOutputFaceResults:bodyResults:] + 128 (CAMViewfinderViewController.m:4098)

8 CameraUI 0x1a74aa524 __68-[CUCaptureController metadataWasRecognized:forMetadataObjectTypes:]_block_invoke.1052 + 336 (CAMCaptureController.m:3501)

9 AssetsLibraryServices 0x19a2dcd54 __pl_dispatch_async_block_invoke + 44 (PLDispatchHelpers.m:23)

10 libdispatch.dylib 0x18573bc2c _dispatch_call_block_and_release + 32 (init.c:1408)

11 libdispatch.dylib 0x18573d088 _dispatch_client_callout + 20 (object.m:495)

12 libdispatch.dylib 0x185748d54 _dispatch_main_queue_callback_4CF + 968 (inline_internal.h:2487)

13 CoreFoundation 0x185a10700 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16 (CFRunLoop.c:1749)

14 CoreFoundation 0x185a0b45c __CFRunLoopRun + 1980 (CFRunLoop.c:3069)

15 CoreFoundation 0x185a0a978 CFRunLoopRunSpecific + 480 (CFRunLoop.c:3192)

16 GraphicsServices 0x18fb3a534 GSEventRunModal + 108 (GSEvent.c:2246)

17 UIKitCore 0x189afcf0c UIApplicationMain + 1940 (UIApplication.m:4687)

18 KOOB 0x103093048 main + 929864 (main.m:14)

19 libdyld.dylib 0x18588af04 start + 4


Anyone aslo get this?

Replies

Have you defined the keys for authorization in info.plist ?

Same problem

Same problem

Have you solved this problem?