`"*** -[AVCaptureSession startRunning] startRunning may not be called between calls to beginConfiguration and commitConfiguration"` Example setup: ``` public private(set) lazy var cameraManager = with(CameraManager()) { $0.shouldEnableExposure = false $0.cameraDevice = .front $0.writeFilesToPhoneLibrary = false $0.cameraOutputMode = .videoWithMic $0.cameraOutputQuality = .hd1280x720 } ``` And I have the same call as in example app ``` cameraManager.addPreviewLayerToView(cameraView, newCameraOutputMode: .videoWithMic) ```
Activity
Hamna21 commentedon Jan 17, 2022
Hello @piv199,
Were you able to find a solution to resolve this crash?
villyGreen commentedon Feb 29, 2024
some issue
chiraggujarati commentedon Jul 12, 2025
@villyGreen solved, there are 1 case in my side so it's crashing my app