Xcode beta 6 iOS 8: Simulator not working

后端 未结 20 1737
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-27 20:33

I cannot launch the simulator successfully. Once I launch the IOS Simulator this error appears:

\"Unable to boot the IOS Simulator.\"

相关标签:
20条回答
  • 2020-11-27 21:28

    Edit: Turns out I was getting my version of the error because I had a file (the "Empty File" type) named "Frameworks" in several of my projects, and this was causing big issues with the iOS 8 simulators. Renaming the file to be anything else, and then doing a Clean Build Folder fixed it right away.

    ------Deprecated Original Message Below--------

    In case this helps anyone -- I was having a similar error on Xcode 6 GM, and tried everything mentioned in these Answers, but the iOS 8 simulators would never run any of my apps (no problems with iOS 7 running from Xcode 6 though).

    What did sort of work was creating a new project (new project apps would run in the iOS 8 simulators, but never any luck with existing apps). Copying over files and project settings is no fun, but at least it let me do testing and see if my apps needed fixing for the iOS 8 public release.

    Extended description of problem at https://devforums.apple.com/thread/246751

    0 讨论(0)
  • 2020-11-27 21:30

    I tried everything mentioned above and nothing worked.

    Finally the only way to make it work was unsetting DYLD_INSERT_LIBRARIES=/usr/lib/libimckit.dylib

    How I did this:

    1. Open terminal and typing "sudo vi /etc/launchd.conf"
    2. Changing

    "setenv DYLD_INSERT_LIBRARIES /usr/lib/libimckit.dylib"

    to

    "unsetenv DYLD_INSERT_LIBRARIES /usr/lib/libimckit.dylib"

    1. Save changes
    2. Reboot your system

    In this post [1] explain what DYLD_INSERT_LIBRARIES is for

    [1] https://stackoverflow.com/a/26053165/2091181

    0 讨论(0)
提交回复
热议问题