automaticallyConfiguresApplicationAudioSession crashes the app on simulator
<p>After setting this value to YES of <code>AVCaptureSession</code> object, my app crashes. It I run the same code on the device it works fine, but when I start it on the iPhone 5 simulator with iOS 10 installed it crashes every time.</p>