title: AVCaptureDevice is always null on simulator
body: <p>I am trying to capture live microphone audio data.</p>
  
  <p>I took the following from the apple example for <code>AVCaptureSession</code>.</p>
  
  <pre><code>AVCaptureSession *captureSession = [[AVCaptureSession alloc] init];
  
  AVCaptureDevice *audioCaptureDevice = [AVCaptureDevice defaultDeviceWithMediaType:AVMediaTypeAudio];
  
  NSError *error = nil;
  AVCaptureDeviceInput *audioInput = [AVCaptureDeviceInput deviceInputWithDevice:audioCaptureDevice error:&amp;error];
  
  if (audioInput) {
      [captureSession addInput:audioInput];
  }
  else {
      // Handle the failure.
      NSLog(@"ERROR");
  }
  </code></pre>
  
  <p><code>audioCaptureDevice</code> and <code>audioInput</code> are both null.</p>