title: Mac Simulator (Xcode) wait for startup command
body: <p>In Android I can run this to start emulator</p>
  
  <pre><code>emulator @NAME
  </code></pre>
  
  <p>and this to wait for it to load completely and be ready to use</p>
  
  <pre><code>adb wait-for-device
  </code></pre>
  
  <p>Is there an equivalent for iOS Simulator on Mac? I use default Xcode Simulator. So start of simulator</p>
  
  <pre><code>xcrun simctl boot deviceID
  </code></pre>
  
  <p>and wait for it to load completely (<em>just an example of what I'm thinking of</em>)</p>
  
  <pre><code>xcrun simctl wait deviceId
  </code></pre>