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"

Cœur
  • 37,241
  • 25
  • 195
  • 267
Shakti
  • 1,889
  • 4
  • 18
  • 29

2 Answers2

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.

Jeremy Huddleston Sequoia
  • 22,938
  • 5
  • 78
  • 86
-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.

Mike M
  • 4,358
  • 1
  • 28
  • 48
  • 1
    You can just reset the device to a fresh state rather than deleting and re-adding by using 'xcrun simctl erase ' or choosing 'Reset Contents & Settings' from the iOS Simulator's menu. However, that is not a possible cause for this particular problem. – Jeremy Huddleston Sequoia Sep 23 '14 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 '14 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. – Jeremy Huddleston Sequoia Sep 23 '14 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 '14 at 07:44