Pradip
Pradip

Reputation: 707

Xcode 6 simulator ,unable to boot error

I have installed latest Xcode 6 and try to run my project on iOS 8 simulator.It gives error as "unable to boot iOS simulator". I have tried all stack overflow answers but not able to fix this.

Upvotes: 1

Views: 3723

Answers (2)

Amol
Amol

Reputation: 85

Following are the steps for solved above issue:

  1. Search launchd.conf file in your mac
  2. If not found then create from Terminal with help of command

    ~ user$ sudo touch /etc/launchd.conf

  3. Terminal will ask you machine password

  4. Then Open created file with help of command for EDIT, if terminal give you error as permission failed

    ~ user$ sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/launchd.conf

  5. Then open file manually from /etc/launchd.conf (Shift+cmd+g) and enter /etc/ (TextEdit software)

  6. Remove the "DYLD_INSERT_LIBRARIES" line and save the file.
  7. Restart your machine.
  8. Xcode should work.

Upvotes: 2

Pooja M. Bohora
Pooja M. Bohora

Reputation: 1331

I was facing the same issue and finally it is 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 using "ZZ" (captial Z) command and reboot the system. It works like a charm. Hope this helps you all.

Upvotes: 4

Related Questions