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).