Xcode 6.4/7 crashing after El Capitan beta

前端 未结 5 861
轻奢々
轻奢々 2020-12-08 14:22

I updated my computer to the latest beta that was released to developers last night and the same project that was compiling fine yesterday night now fails due to a supposed

相关标签:
5条回答
  • 2020-12-08 14:30

    A workaround was found thanks to "lembacon" on the Apple Developer Forums.

    In Terminal:

    cd /Applications/Xcode-beta.app (or wherever your Xcode 7 beta 4 is located)  
    cd Contents/Developer/Platforms/iPhoneSimulator.platform  
    cd Developer/SDKs/iPhoneSimulator.sdk/usr/lib  
    sudo mv dyld_sim dyld_sim.orig
    

    Seems to work for iOS projects but watchOS is iffy.

    EDIT: watchOS solution:

    cd /Applications/Xcode-beta.app (or wherever your Xcode 7 beta 4 is located)  
    cd Contents/Developer/Platforms/WatchSimulator.platform  
    cd Developer/SDKs/WatchSimulator.sdk/usr/lib  
    sudo mv dyld_sim dyld_sim.orig  
    

    Another Edit: As mentioned by sciasxp, this also works for 6.4. Hopefully we'll get new iOS and Xcode betas soon that permanently fix this.

    Another Another Edit: A new iOS beta is out today, as well as a new Xcode beta. This issue should be resolved.

    0 讨论(0)
  • 2020-12-08 14:32

    Xcode 7.0 beta 5 is out with support for El Capitan beta 6.

    Release Notes

    Xcode 7 beta 5 resolves issues with building iOS projects and running the iOS simulator on OS X El Capitan beta 6. (22089926)

    0 讨论(0)
  • 2020-12-08 14:38

    Running xcode 7.0.1 on ElCapitan with all updates installed and xcode is quitting often as above but not quire often enough that I cant develop for it. Seems to occur when setting constraints and positions in storyboard. iMac is latest and restarted at least once a week as off on weekends so stable as I can make it.

    As with every release of Apple we just need to wait for the updates for xcode and or ElCapitan to fix it.

    So rule is to save/build often to save code before playing around with constraints as its liable to just quit on you.

    0 讨论(0)
  • 2020-12-08 14:41

    There is one weird fix :

    Reinstall Beta 5 by downloading and running the following directly from Apple's CDN. This will restore Xcode but you will loose sound :)

    http://swcdn.apple.com/content/downloads/43/22/031-29032/71ihp9c54k547fvol25w5g85z9323gqwnr/OSXUpd10.11.pkg

    http://swcdn.apple.com/content/downloads/43/22/031-29032/71ihp9c54k547fvol25w5g85z9323gqwnr/FirmwareUpdate.pkg

    0 讨论(0)
  • 2020-12-08 14:49

    It's documented in the El Capitan Beta 6 Release Notes, so you cannot blame Apple if you didn't read them.

    Known Issues

    • Xcode 6.x has known compatibility issues when run on OS X El Capitan. It is strongly encouraged that you use Xcode 7 when running on OS X El Capitan.

    EDIT Mostly the tone of this answer was brought about by the "This is why we can't have nice things, Apple." statement in question, implying the OP thinks he has a god-given right to use beta operating systems without impunity.

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