iOS 开发 OSX10.11 beta6 Xcode6 选定 xib文件 就会crash 一直崩溃

来源:互联网 发布:手机转区软件 编辑:程序博客网 时间:2024/06/09 22:53

前一阵子手贱   升级了OSX10.11    然后各种BUG就开始来了    各种打不开  各种闪退

直到前天升级了OSX10.11  beta6   生存工具Xcode 竟然出问题了:

只要选中工程里的xib或storyboard  文件  该工程就开始了crash 的死循环 

终于  万能的stack overflow  给出了解决办法


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.

另外还有终极解决方案  使用Xcode7  beta5  


链接 http://stackoverflow.com/questions/31803585/anyone-elses-xcode-6-4-7-crashing-after-el-capitan-beta-6

0 0
原创粉丝点击