4

I have just updated my Xcode to 6.0.1 from Mac App Store, and my OS version is OS X 10.9.5. The problem is that the iOS 8 Simulator is not loading, but the iOS 7 simulator is working fine.

Every time I try to boot an iOS 8 simulator device, I get an error message:

"Unable to boot iOS Simulator"

8
  • Make sure you choose XCode6 as Command Line Tools in Preferences > Locations Section,look at this stackoverflow.com/questions/24033417/…
    – Sport
    Sep 23, 2014 at 5:15
  • 1
    You can try: Force quit all other simulator then try to run the iOS8 simulator.
    – souvickcse
    Sep 23, 2014 at 6:20
  • @ Sport. Thanks..That is selected by default.
    – Shakti
    Sep 23, 2014 at 6:40
  • @ souvickcse...Yes I tried that too but no success.
    – Shakti
    Sep 23, 2014 at 6:40
  • 1
    @PREMKUMAR..No. I am still fighting with it.
    – Shakti
    Sep 25, 2014 at 7:46

2 Answers 2

6

The main cause of this error is that DYLD_INSERT_LIBRARIES is set. I suggest you unset DYLD_INSERT_LIBRARIES (likely in /etc/launchd.conf) or otherwise uninstall the product that set it, and then reboot.

OS X Yosemite has a software change to deal with this situation, so if you need the product that was setting DYLD_INSERT_LIBRARIES, I suggest you update to OS X Yosemite for your development.

1
  • Just used this technique to rescue a student's laptop! TYVM! Sep 25, 2014 at 1:56
-2

Go into Window->Devices. Find the simulator that's not working, right click and delete it. Then click on the "+" button at the bottom and you can add it back in.

I had to delete a few of them, and this only takes a minute.

4
  • 1
    You can just reset the device to a fresh state rather than deleting and re-adding by using 'xcrun simctl erase <device udid>' or choosing 'Reset Contents & Settings' from the iOS Simulator's menu. However, that is not a possible cause for this particular problem. Sep 23, 2014 at 21:58
  • I had the same issue with the same symptoms and resetting it didn't help at all. At least my answer doesn't require installing a new OS. :-/
    – Mike M
    Sep 23, 2014 at 22:04
  • Resetting it is the exact same thing as deleting and creating a new device. When we reset the device, we just delete the existing data directory and copy over the sample content. Also, I suggest that you take the approach of just unsetting DYLD_INSERT_LIBRARIES if that is the case rather than jumping to a whole new OS as it's highly likely that you don't actually want whatever code is being injected into your processes. Sep 23, 2014 at 22:08
  • Thanks for you comment guys...as I said I have already tried 'Reset Contents & Settings'. I had even Uninstall the Xcode using Terminal commands and reinstall it but yet no success in booting the iOS 8 Simulator.
    – Shakti
    Sep 25, 2014 at 7:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.