Xcode 8 very slow Swift compiling
<p>Ever since Swift 3 and Xcode 8 my project compiles quite slowly.
Every time I add so much as an empty line to a file, recompiling takes a full minute. When I check the output, there is no particular file that takes very long.
(I also used this tool to measure it: <a href="https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode" rel="nofollow noreferrer">https://github.com/RobertGummesson/BuildTimeAnalyzer-for-Xcode</a>)</p>

<p>It always appears to compile 4 files at once. The "rythm" is quite steady. Just very slow...</p>

<p>Also: Whenever I open or switch between files, it can take very long till I get autocomplete, or errors/warnings.</p>

<p>What things can I check? I almost feel like there is some flag I set that just drags down the build speed like crazy..</p>

<p><strong>EDIT:</strong>
This is not a solution to the underlying problem, but I spent some time on moving more code to frameworks. This made a difference (simply because it has to recompile less files every time). This shouldn't be necessary but it got unbearable... I'm of course still looking very much for a proper solution.</p>