title: App Preview recording with iOS Simulator cause NSPOSIXErrorDomain with code 22 ERROR
body: <p>I was trying to capture video for app Preview from ios simulator with implementing command in terminal. </p>
  
  <p>but when i try to use the command bellow  </p>
  
  <p><code>xcrun simctl io booted recordVideo appPreview.mp4</code></p>
  
  <p>the terminal gives me the error:</p>
  
  <pre><code>An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
  Selected interface does not support video recording.
  Invalid argument
  </code></pre>
  
  <p>can someone explain what is the problem here and how to resolve this problem?</p>
  
  <p>I am using XCODE Version 11.0 beta 5 (11M382q)</p>
  
  <p>and running ios simulator Xs Max</p>
  
  <p><a href="https://i.stack.imgur.com/aZYeT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aZYeT.png" alt="enter image description here"></a></p>