简体   繁体   中英

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM