I get an error when opening the camera the second time onwards. (iOS)

iOS (Swift)
I use DeepAR, ARView, CameraController.
On first opening I was working normally,
buy I get an error when opening the camera view the second time onwards. DeepAR camera not working.

Error :
[assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 “target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit” UserInfo={NSLocalizedFailureReason=target is not running or doesn’t have entitlement com.apple.runningboard.assertions.webkit}>

more detail in the attachment

Hi @iamtid, can you tell us more about the workflow.

Usually if you reinitialise Camera Controller DeepAR SDK needs to be fully shutdown and reinitialised as well

    [self.deepAR shutdown];
    if (self.arview) {
        [self.arview removeFromSuperview];
    }

My problem is solved. Thank you very much for your reply.

1 Like