Xcode 8 constantly rebuilds my entire project for every line change, it is very frustrating and slows down the machine tremendously. Why does this happen, and how can I fix it ?
Asked
Active
Viewed 1,690 times
1
-
1Do you have an `IBDesignable` view anywhere? If I remember correctly, they can cause constant reloading of the interface builder. – ezcoding Oct 03 '16 at 17:34
-
@ezcoding Yes, one view. Surely Xcode cant be THAT buggy? – KML Oct 03 '16 at 17:35
-
Well, it has to reload the interface builder to display the changes. Anyway, remove the `@IBDesignable` and associated keywords and look if the constant recompiling goes away. – ezcoding Oct 03 '16 at 17:36
-
@ezcoding But the IBDesignable is not at all related to the viewController I am working on – KML Oct 03 '16 at 17:41
-
using storyboards? – Bista Oct 03 '16 at 17:41
-
@ezcoding Yes I am – KML Oct 03 '16 at 17:42
-
I had a similar problem a while ago and this is how I fixed it. Now I can't say for sure that you are experiencing the same thing I did, that's why I'm commenting and not handing it in as proposed answer ;) – ezcoding Oct 03 '16 at 17:45
-
Check this answer http://stackoverflow.com/questions/28476030/xcode-keeps-building-storyboard-after-each-keystroke – Reinier Melian Apr 03 '17 at 21:05
2 Answers
1
Try removing IBDesignable if you use any in your classes. I had the same problem with Xcode 9 and it fixed it.

Bretsko
- 608
- 2
- 7
- 20