Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I stop Xcode 9 from continuously building or at least make it not run build scripts?

Tags:

xcode

xcode9

After migrating to Xcode 9, I noticed that it constantly fully builds my project. I found that it is somehow related to the "show live issues" setting. Disabling that setting stops builds, but it makes development inconvenient.

I would like to disable this continuous build loop, or make it work without launching all build scripts.

My custom build scripts contain linting and formatting, so what happens is, I try to edit a file, but Xcode starts building, thus launching the formatting routine that changes exactly the same file I am trying to edit.

like image 244
Roman Temchenko Avatar asked Sep 26 '17 17:09

Roman Temchenko


1 Answers

Open any .storyboard file in your project and go to the Editor menu, uncheck 'Automatically Refresh Views'.

enter image description here

like image 72
Ohmy Avatar answered Nov 19 '22 19:11

Ohmy