I managed to stop Xcode from crashing, but the storyboard displays with a bug (everything is blue, and I can’t see the storyboard elements). It’s better than nothing; at least I can still make changes.
Until a proper fix is available, if it can help someone, here are the steps I followed using the terminal:
defaults delete com.apple.dt.Xcode
rm -rf ~/Library/Application\ Support/Xcode
rm -rf ~/Library/Caches/com.apple.dt.Xcode
rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Developer/Xcode
Alternatively, repeat the same steps and then uninstall Xcode and reinstall it.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: