iosxcodeios-simulatorxcode9.2xcode10

Xcode 9 iOS Simulator becoming black screen after installing Xcode 10 beta


I know that so many people have asked this question earlier. But I think my situation is different. In my case Xcode 9.2 was already installed and I upgraded macOS from 10.13.2 to 10.13.5. Then I installed Xcode 10 beta. Now when I'm running any project on Xcode 9.2 and try to use simulator, its becoming black though I can see the xcode logs. Things I have tried so far,

  1. Uninstalled Xcode 10 Beta
  2. Uninstalling & reinstalling Xcode 9.2
  3. Uninstall Xcode 9.2 and install Xcode 9.4
  4. Reset Content & Settings from simulator menu
  5. Restart Device from simulator menu
  6. Resizing simulator.
  7. Followed this post and cleaned DerivedData, CoreSimulator, iOSDeviceSupport
  8. Re add simulators from devices & simulators section

Now what should I do now?


Solution

  • Try running defaults write com.apple.CoreSimulator.IndigoFramebufferServices FramebufferRendererHint 3 in Terminal (source). Note that this will force Simulator to use OpenGL instead of Metal, so you'll want to re-run it with 0 once this gets fixed.