tucan9389 / ObjectDetection-CoreML

An example running Object Detection using Core ML (YOLOv8, YOLOv5, YOLOv3, MobileNetV2+SSDLite)
https://github.com/motlabs/awesome-ml-demos-with-ios
MIT License
297 stars 51 forks source link

build iOS app error #14

Open kaiven11 opened 1 year ago

kaiven11 commented 1 year ago

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.