.initGrabber(640,480)

I am trying to use .initGrabber(640,480). At runtime, it asks for permission to use camera, but it stops and it says
“Thread 1:signal SIGABRT”