XCode 8 keeps hanging Since I've updated to Sierra and started using XCode 8, XCode started freezing a lot, specially (but not only) when saving. The beachball appears and nothing can be done in XCode.
Sometimes it freezes for some seconds and resumes, other times it won't resume (or at least, not in a reasonable time).

Already tried XCode 8.1 and 8.2. Same problem.

Is there any fix? Or anyway to troubleshoot this (like logs and such).
Close Xcode
Open Terminal
Type defaults delete com.apple.dt.Xcode
Re-open Xcode


Note: Xcode will be reset to its default settings. This might help if you would like to do so.