Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
402 views
in Technique[技术] by (71.8m points)

ios - Xcode 6.4/7 crashing after El Capitan beta

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 .xib/.storyboard error.

I have tried cleaning the project, downloading a previous version off of github, etc.. and yet the project still gives me the following error. "Failed to communicate with Interface Builder" as well as Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 255. Literally nothing was changed with the .storyboard file or anything remotely related to it.

What's more is that trying to open any .xib/.storyboard file (even the launch screen xib which I haven't touched leads to Xcode crashing which leads me to think this has nothing to do with me.)

Anyone else experiencing this? Any advice or temporary fixes?

Update: Trying to run anything on the simulator causes it to crash continuously or hang with the following error message: "Springboard quit unexpectedly"

Update 2: Playgrounds are unusable but do not crash. Also, these lads seem to be in the same boat as we are. https://forums.developer.apple.com/thread/13170

This is why we can't have nice things, Apple.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...