Closed savan-ixfi closed 1 month ago
@savan-ixfi i was searching for this issue for my repo and found this already posted. thank man
Xcode is printing this log.
After that it prints didReceiveMemoryWarning
[CAMCaptureEngine] Received a session runtime error notification : Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12782), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x600000ded050 {Error Domain=NSOSStatusErrorDomain Code=-12782 "(null)"}}
[CAMCaptureEngine] Performing recovery from error: Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo={NSLocalizedFailureReason=An unknown error occurred (-12782), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x600000ded050 {Error Domain=NSOSStatusErrorDomain Code=-12782 "(null)"}}
Snapshotting a view (0x103e64e20, CAMPreviewView) that has not been rendered at least once requires afterScreenUpdates:YES.
[CAMCaptureEngine] Attempting to recover from a session runtime error by restarting the AVCaptureSession
I am getting the same error @farhazulMullick . This is really frustrating. I believe it could be something with how you want to save the image on iOS.
This issue is related to Disposal strategy in CMP.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
https://github.com/JetBrains/compose-multiplatform/assets/131661149/5e328798-0846-413a-8b81-7ac016e1ac0d