Exception in ofAVFoundationGrabber.mm

OSX 10.12
_XCode 8 _
v0.9.4

Since I’m on Sierra, I’ve downloaded the release of 0.9.4 and am testing the videoGrabber example as suggested. The app builds successfully, but when it runs there is an exception in ofAVFoundationGrabber.mm

This exception is raised in several other examples as well, and in the RC1 build as well as the release. Is there a way to configure Xcode to ignore this exception? AFAIK the project file is not configured to break on all exceptions.

Exception Name: NSInvalidArgumentException
Description: *** Can't add a nil AVCaptureInput
User Info: (null)

0   CoreFoundation                      0x00007fffacced7bb __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x00007fffc145aa2a objc_exception_throw + 48
2   AVFoundation                        0x00007fffa94afa2f -[AVCaptureSession          _addInputWithNoConnections:] + 682
3   AVFoundation                        0x00007fffa94af4ca -[AVCaptureSession addInput:] + 103
4   videoGrabberExampleDebug            0x0000000100423862 -[OSXVideoGrabber initCapture:capWidth:capHeight:] + 3706
5   videoGrabberExampleDebug            0x0000000100424f34 _ZN21ofAVFoundationGrabber5setupEii + 94
6   videoGrabberExampleDebug            0x00000001003de84a _ZN14ofVideoGrabber5setupEiib + 234
7   videoGrabberExampleDebug            0x0000000100003f05 _ZN14ofVideoGrabber11initGrabberEii + 37
8   videoGrabberExampleDebug            0x0000000100003cd4 _ZN5ofApp5setupEv + 1364
9   videoGrabberExampleDebug            0x0000000100002af5 _ZN9ofBaseApp5setupER11ofEventArgs + 37
10  videoGrabberExampleDebug            0x000000010040413d _ZNSt3__110__function6__funcIZN7ofEventI11ofEventArgsNS_15recursive_mutexEE13make_functionI9ofBaseAppEENS_10shared_ptrIN2of4priv8FunctionIS3_S4_EEEEPT_MSE_FvRS3_EiEUlPKvSG_E_NS_9allocatorISL_EEFbSK_SG_EEclEOSK_SG_ + 37
11  videoGrabberExampleDebug            0x00000001003e1817 _ZNKSt3__18functionIFbPKvR11ofEventArgsEEclES2_S4_ + 31
12  videoGrabberExampleDebug            0x00000001003e1638 _ZN7ofEventI11ofEventArgsNSt3__115recursive_mutexEE6notifyEPKvRS0_ + 170
13  videoGrabberExampleDebug            0x00000001003e0746 _ZN12ofCoreEvents11notifySetupEv + 18
14  videoGrabberExampleDebug            0x0000000100402c11 _ZN10ofMainLoop3runENSt3__110shared_ptrI9ofBaseAppEE + 95
15  videoGrabberExampleDebug            0x00000001003dd417 _Z8ofRunAppNSt3__110shared_ptrI9ofBaseAppEE + 59
16  videoGrabberExampleDebug            0x00000001003dd3aa _Z8ofRunAppP9ofBaseApp + 37
17  videoGrabberExampleDebug            0x00000001000026a4 main + 100
18  videoGrabberExampleDebug            0x0000000100001f24 start + 52

commented out:
[self.captureSession addInput:captureInput];
and I can now get the 3DPrimitivesExample to run. In my case it might be a broken camera.