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
How to Debug an Issue with a Release Mode Build in iOS
How to Use Mbprogresshud with Swift
Swiftui Buttonstyle - How to Check If Button Is Disabled or Enabled
How to Get the MAC Os X Firewall to Permanently Allow My iOS App
Leaving Inputaccessoryview Visible After Keyboard Is Dismissed
How to Use Uiactivityitemprovider to Send an Email with Attachment with Uiactivityviewcontroller
Swift How to Change Uialertcontroller's Title Color
Add a Done Button Within a Pop-Up Datepickerview in Swift
How to Wait for a Function to End on iOS/Swift, Before Starting the Second One
Communicating With/Opening Containing App from Share Extension
How to Pass Data to Another Controller on Dismiss Viewcontroller
Ios/Swift - Hide/Show Uitabbarcontroller When Scrolling Down/Up
Swift: Custom Camera Save Modified Metadata with Image
Save Eventually on Pfobject with Pffile (Parse Local Datastore)
How to Get the Current Application Icon in iOS
How to Distribute Swift Library Without Exposing the Source Code