IOS 8 Simulator unable to boot

When I try to run my app with Xcode 6 Beta 4 on the Simulator iOS 8.0 I always get this error:

Unable to boot the iOS Simulator

Actually I found some similar questions on this site and I tried all the answers and I still couldn't solve it. I had the same error with the Beta 2 version of Xcode 6 so I decided to wait. But now this is not normal anymore. Did anyone find a reason why this is happening and found the solution?

enter image description here


Solution 1:

I am very happy that finally my issue resolved. Thanks to apple who helped me.

For those who are still looking for solution, here is the one which helped me:

Just unset DYLD_INSERT_LIBRARIES environment variable in the /etc/launchd.conf or ~/.launchd.conf file. Which you can edit by sudo vi /etc/launchd.conf command. remove the above flag save it by "ZZ" (captial Z) and reboot the system. It works like a charm.

For reference: Xcode 6 simulator, unable to boot error.

Solution 2:

I found that removing and re-adding the simulator in Xcode 6 fixes the issue.

  1. After opening xcode 6 open iOS simulator
  2. Open hardware manage devices
  3. Remove all the simulators and re-add them

After opening xcode 6 open iOS simulatorOpen hardware manage devicesRemove all the simulators and re-add them