It works when I connect an iPhone to the mac as a camera.
If I then disconnect the iPhone again, the app crashes again.
An additional check with UIImagePickerController.isCameraDeviceAvailable returns true.
CMIOHardware.cpp:124:CMIOObjectHasProperty no object with given ID 666
CMIOHardware.cpp:150:CMIOObjectHasProperty Error: 560947818, failed
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
Topic:
App & System Services
SubTopic:
Hardware
Tags: