Hello.
Xcode 8 GM. iOS 10 (doesn't matter what simulator). On any simulator I receive an EXC_BAD_ACCESS referencing an AVCaptureSession. For instance, even code as simple as this crashes on the 2nd line:
let captureSession = AVCaptureSession()
captureSession.sessionPreset = AVCaptureSessionPresetPhoto // crashes
The tip top of the call stack has:
#0
0x0000000111eebb2f in dispatch_async ()
#1
0x000000011bf45c72 in captureSessionSimulator_postNotificationWithPayload ()
#2
0x000000011bf45727 in captureSessionSimulator_SetConfiguration ()
#3
0x000000010c2ca489 in -[AVCaptureSession _buildAndRunGraph] ()
#4
0x000000010c2c3f98 in -[AVCaptureSession _commitConfiguration] ()
Everything works dandy on a device. Happening in the GM is disheartening (works in Xcode 7/iOS 9). Something I'm missing?