Currently,There is a crash problem that has been bothering me.
Stack
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000 at 0x0000000000000000
Application Specific Information:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[AVCapturePhotoOutput setPreparedPhotoSettingsArray:completionHandler:] You are not authorized to use custom shutter sounds'
0 CoreFoundation 0x0000000181fa6d8c __exceptionPreprocess (in CoreFoundation) + 228
1 libobjc.A.dylib 0x00000001811605ec objc_exception_throw (in libobjc.A.dylib) + 56
2 AVFoundation 0x0000000187b305d0 -[AVCapturePhotoOutput setPreparedPhotoSettingsArray:completionHandler:] (in AVFoundation) + 692
3 CameraUI 0x000000019ed9f37c -[CAMPreparePhotoSettingsCommand executeWithContext:] (in CameraUI) + 784
4 CameraUI 0x000000019edcefb8 -[CAMCaptureEngine _executeCommand:withContext:] (in CameraUI) + 164
5 CameraUI 0x000000019edcf05c -[CAMCaptureEngine _executeCommand:withContext:] (in CameraUI) + 328
6 CameraUI 0x000000019edcf05c -[CAMCaptureEngine _executeCommand:withContext:] (in CameraUI) + 328 7 CameraUI 0x000000019edcf05c -[CAMCaptureEngine _executeCommand:withContext:] (in CameraUI) + 328
8 CameraUI 0x000000019edcf22c __35-[CAMCaptureEngine enqueueCommand:]_block_invoke (in CameraUI) + 80
Who can help answer? Thanks
User contributions licensed under CC BY-SA 3.0