45

The latest Xcode builds while coding... It gets stuff wrong and slows my Mac down. How do I disable this and have it build on demand?

Ronan Boiteau
  • 9,608
  • 6
  • 34
  • 56
user605957
  • 2,489
  • 6
  • 25
  • 33
  • Have you looked through the [Xcode Build Setting Reference](http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/0-Introduction/introduction.html)? – PengOne Jun 22 '11 at 04:43

2 Answers2

117

Go to Preferences -> General and disable Live Issues in Editors and in Issue Navigator

Update: It's called Show Live Issues in the latest Xcode versions

albianto
  • 4,092
  • 2
  • 36
  • 54
  • 1
    This has become very laggy in xcode 7, (to the point where just scrolling through actual compile errors is a problem), fix still applies 4 years later! – Soylent Graham Nov 11 '15 at 22:24
  • 9
    Xcode still recompiles every project on every my action - switch file, insert char and so on. It's really annoying. – adnako Jul 22 '16 at 07:20
  • 27
    It is caused by the IB_DESIGNABLE definitions in the source header files. You can stop by following steps: 1. Open Story Board 2. Editor -> Automatically refresh view ( Uncheck this) – Shiv Kumar Singh Jun 28 '17 at 14:57
  • Shiv Kumar, this is so absurd. IB_DESIGNABLE causes App services to rebuild while editing. – Denis Kutlubaev Oct 10 '17 at 10:51
  • Or you can keep the wonderful functionality of IB_DESIGNABLE just by closing you storyboard if it is opened in a tab. – Chrstpsln Nov 05 '17 at 06:06
38

If you have any IB_DESIGNABLE in source files, the system's live tracker will check for issues in StoryBoard too. It may leads to unnecessary building.

To disable it-

Open Storyboard file. Editor -> Automatically Refresh Views (Uncheck)

If you needs to Disable Live issue tracking

XCode -> Preferences -> General -> Issues -> Uncheck Live Issues

Lal Krishna
  • 15,485
  • 6
  • 64
  • 84