Xcode 6.4/7 Crashing After El Capitan Beta

Xcode 6.4/7 crashing after El Capitan beta

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.

Xcode 6.4 Scheme Option Disappeared in El Capitan Beta

You don't need that button; the same options are available from the Product menu. So even though it's a bug, you can work around it for now, easily enough.

How to make a CocoaPods project work on OS X El Capitan & Xcode 7 Beta?

Until Cocoapods supports Swift 2, at the very least you should be able to continue to use Xcode 6 until it does. If Xcode 7 has stomped all over your Cocoapods already, this link shows you how to clean it up https://gist.github.com/mbinna/4202236.

Basically, from inside any project using Cocoapods:

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "`pwd`/Pods/"
pod update

Then rebuild using Xcode 6 and everything should be back to normal.

Xcode 6.3 Crashes when navigating from storyboard to other Swift 1.2 file

I gather from the apple developer forums that this is an @IBDesignable issue. Especially in projects that use custom fonts, additional xibs, etc.

I have somehow fixed my issue by removing all @IBDesignable from swift UIView class definitions. You can open your project directory with TextMate or other, search and remove all "@IBDesignable"

However I still think this is a MAJOR bug, that needs to be worked on.. so keep filing bug reports to Apple.



Related Topics



Leave a reply



Submit