开发者

XCode 4 Optimizations

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.


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.


  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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜