Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode 4 Optimizations

Tags:

xcode4

ide

In the vein of the https://stackoverflow.com/questions/8440/visual-studio-optimizations Question, I would love to collect tips and tricks to make XCode4 go faster in day to day use.

Especially, I'm interested in ways to disable annoying UI animations, improve build times and getting apps under the debugger faster. Tips that reduce XCode's memory footprint as well as improve startup times are appreciated.

like image 387
Johannes Rudolph Avatar asked May 25 '11 15:05

Johannes Rudolph


2 Answers

There are a collection of tiny XCode plugins that can be found here, which allow for many of XCode's more annoying (and often distracting) features to be disabled (including the "annoying UI animations" you mentioned).

Detailed instructions for the plugins and installation process can be found here.

like image 164
Jamie Avatar answered Nov 11 '22 23:11

Jamie


  1. Disable indexing (this will considerably reduce the amount of ram and CPU XCode uses)

    $ defaults write com.apple.dt.XCode IDEIndexDisable 1

  2. Reduce XCode's priority (this will allow you to do other things while building)

    $ renice 10 -p PID (Where PID is XCode's Process ID )

  3. Avoid dependency checks on every build (this will make builds faster)

like image 20
rolnn Avatar answered Nov 12 '22 00:11

rolnn