title: How to close an app in the ios simulator by commend line
body: <p>I want to quit an app in the script by the end of my test.
  I know the <code>command+shift+hh</code> can quit an app in Simulator, but I want to quit by command line.</p>
  
  <p><img src="https://i.stack.imgur.com/IJflN.png" alt="code"></p>
  
  <p>Is there a good way to solve my problem?</p>