there is a bug report when build the project:
libc++abi: terminating with uncaught exception of type NSException
Terminating app due to uncaught exception 'NSGenericException', reason: ' -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration'
terminating with uncaught exception of type NSException
CoreSimulator 857.14 - Device: iPhone 14 (CA4849C9-1866-4D53-BCEA-B0ED86A38F30) - Runtime: iOS 16.2 (20C52) - DeviceType: iPhone 14
if you have time , pls fix it. I am new to swift , thank you.
there is a bug report when build the project: libc++abi: terminating with uncaught exception of type NSException Terminating app due to uncaught exception 'NSGenericException', reason: ' -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration' terminating with uncaught exception of type NSException CoreSimulator 857.14 - Device: iPhone 14 (CA4849C9-1866-4D53-BCEA-B0ED86A38F30) - Runtime: iOS 16.2 (20C52) - DeviceType: iPhone 14
if you have time , pls fix it. I am new to swift , thank you.