mts396 mts396 - 1 year ago 101
Swift Question

Storyboard Preview in Xcode force closes every time

Whenever I try to use the Storyboard Preview feature as part of the Preview Assistant Editor in Xcode, the whole program just force closes each time. However, there is nothing wrong with the code as it runs just fine in simulator.

The message I get simply states: "Xcode closed unexpectedly".

OS X Version: 10.11.6
Xcode version: 7.3.1


Answer Source

I have had the same problem and the only thing that solved it for me was to completely uninstall and remove Xcode and the to reinstall it again.

This is the stops you do to uninstall Xcode you need to remove:

  1. /Applications/
  2. /Library/Preferences/
  3. ~/Library/Preferences/
  4. ~/Library/Caches/
  5. ~/Library/Application\ Support/Xcode
  6. ~/Library/Developer/Xcode
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download