Very slow tab switching in Xcode 4.5 (Mountain Lion) Very slow tab switching in Xcode 4.5 (Mountain Lion) xcode xcode

Very slow tab switching in Xcode 4.5 (Mountain Lion)


If you have multiple partitions (maybe a backup of Lion was kept) ensure that xcode really comes from the Mountain Lion partition.

The App Store App update for Xcode seems to take the first Xcode.app it finds and will apply any update to that version. In my case it updated the (inactive) Lion partition, even so I booted from the ML partition. xcode-select did not complain when I tried to change it to the ML version.

So I ended up doing the great housekeeping:

  • do a chmod 000 /Volume/<old Lion partition>/Applications/Xcode.app
  • installed a fresh copy on Xcode.app into /Applications
  • verify the destination of the dock icon (must point to the ML Xcode.app)

My Xcode is now fast as before and it remains fast. You can get the Xcode dmg and the command line tools from https://developer.apple.com/downloads/index.action. I don't think there is a difference in the binaries, but with the DMG I could see where I dropped the Xcode.app.


I found your question before I discovered a partial solution.

As of today, I find XCode 4.6.1 GUI dog slow for my taste, specially considering that I run on a one year old mac, SSD, compile to a 2GB RAM disk and still have 6GB RAM left. Even Eclipse runs lightning fast compared to XCode

4.5.1 did improve something, but after a long time using XCode I do not have any hope for some of its problems being solved ever.

That being said, I have noticed that "Live issues", the main tool bar and all the panels slow down tab switching to same degree. The biggest offender so far are the navigator panels.

Once I got used to a minimalistic Xcode window, layout some specific task tabs, keep a separate window for xibs and learned the shortcuts to enable/disable the panels, I no longer suffer so much with XCode responsiveness, but there is still some lag that can be clearly felt.