title: iOS Simulator Crash on Xcode 10
body: <p>Today, I've updated my iMac to macOS Mojave from macOS High Sierra. Since then I'm not able to open simulator. Every time I tried to open the simulator that crashes immediately. Whenever I tried to run the simulator via Xcode then Xcode shows this error</p>
  
  <blockquote>
    <p>Timed out waiting for the simulator application for iphonesimulator to become ready</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/4U4w5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/4U4w5.png" alt="enter image description here"></a></p>
  
  <p>Also, I tried to open the simulator directly and it's crash immediately. Here the gif (gif is a little bit slow) - </p>
  
  <p><a href="https://i.stack.imgur.com/7dyOy.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/7dyOy.gif" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/QqW7A.png" rel="noreferrer"><img src="https://i.stack.imgur.com/QqW7A.png" alt="enter image description here"></a></p>
  
  <p><strong>System CPU &amp; Memory Status</strong> -</p>
  
  <p><a href="https://i.stack.imgur.com/nrqA1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/nrqA1.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/SDkNi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SDkNi.png" alt="enter image description here"></a></p>
  
  <p><strong>Here some solution that I've tried but no luck -</strong> </p>
  
  <ol>
  <li><p>Clear iPhone Simulator Cache    </p>
  
  <pre><code>xcrun simctl erase all
  </code></pre></li>
  <li><p>Clear DerivedData </p>
  
  <pre><code>~/Library/Developer/Xcode/DerivedData/
  </code></pre></li>
  <li><p>Clear iOS DeviceSupport </p>
  
  <pre><code>~/Library/Developer/Xcode/iOS DeviceSupport/
  </code></pre></li>
  <li><p>Delete Xcode Preferences</p>
  
  <pre><code>defaults delete com.apple.dt.Xcode
  </code></pre></li>
  <li><p>Restart Xcode &amp; System</p></li>
  </ol>
  
  <hr>
  
  <p><strong>Update 1</strong></p>
  
  <p>macOS Logs - </p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Device iPhone XS (978302BA-5255-44CB-A77C-188071B99A7C, iOS 12.0, Booted) is available but has no defaultDisplay'
  *** First throw call stack:
  (
      0   CoreFoundation                      0x00007fff33a9543d __exceptionPreprocess + 256
      1   libobjc.A.dylib                     0x00007fff5f9a6720 objc_exception_throw + 48
      2   CoreFoundation                      0x00007fff33ab008e +[NSException raise:format:arguments:] + 98
      3   Foundation                          0x00007fff35e4c55d -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 194
      4   Simulator                           0x000000010e7510da Simulator + 106714
      5   libdispatch.dylib                   0x00007fff60a24d4f _dispatch_call_block_and_release + 12
      6   libdispatch.dylib                   0x00007fff60a25dcb _dispatch_client_callout + 8
      7   libdispatch.dylib                   0x00007fff60a2c120 _dispatch_lane_serial_drain + &lt;…&gt;
  )
  </code></pre>