4 MINDS

4MINDS Gestão de Conhecimento

xcode lento - slow xcode


Após uma atualizaçâo do xcode ficou impossível produzir por conta da lentidão. Após uma googlada achei a seguinte dica:


How to make  xcode faster

  • Buying more memory.
  • Disable indexing if you are building out huge projects in Xcode. This can halve Xcode’s memory consumption.
  • Running Xcode in 32 bit. This is not an option for everyone, because it will exceed 4 GB in larger projects.
  • Reduce the number of build processes (again).
  • Restarting Xcode often (It doesn’t do a very good job cleaning up after itself).
  • Use clang as your compiler. Clang instances in general use less memory than Apple’s GCC 4.2.
  • Offload dependent targets which do not change often. Example: You will not need to rebuild third party libraries daily in most cases.

O que me ajudou foi mais precisamente  o segundo passo.


How to disable indexing

Open the Terminal  window , then type the following code in terminal and click enter.

defaults write com.apple.dt.XCode IDEIndexDisable 1

Now restart your xcode and enjoy better performance.



Espero que ajude mais alguém!

Fonte original http://way2ios.com/development/ios-development-2/iphone-2/xcode-4-x_slow_issues/