Post

Replies

Boosts

Views

Activity

Reply to App randomly be terminated due to Capture Application Requirements Unmet
Update: Since the termination is due to "Camera not actively used; AVCaptureEventInteraction not installed", I have tried this way to see if the issue can be solved: Using onCameraCaptureEvent API from iOS 18 in my SwiftUI view. And after adopting this, it seems that I haven't encounter this issue any more. But I do have a few concerns: Previously I use AVCaptureEventInteraction, which is available since iOS 17.2 and add it to the keyWindow?.rootViewController?.view. Does onCameraCaptureEvent API using the same approach behind the scene? Still, the app is running as the main target (Not the CaptureExtension), why does the system decide to monitor whether the camera is active and AVCaptureEventInteraction is installed or not?
Nov ’24