Reputation: 10071
this is just driving me nuts. Just downloaded the Xcode 4.3.2 app from mac app store. Now, sometimes upon editing and then saving a file, Xcode becomes unresponsive for 5-10 seconds. The rotating wheel icon displays continuously.
Is there some background task going on when I save a file, may be some build checks or something which can be turned off or something else, can somebody help me out here
Upvotes: 0
Views: 590
Reputation: 10071
It seems the antivirus that I have installed is causing some problem. Turning off its realtime protection did the trick for me. I found a similar tip over in this stackoverflow question
Upvotes: 1
Reputation: 89509
Yes, it's probably downloading documentation and/or doing some initial indexing.
If you look at the activity monitor (the box in the center of the iTunes-like toolbar), you might see what's going on, or a tiny number badge which, when clicked on, shows you what else is going on behind the scenes in Xcode.
If the problem persists for a long time (i.e. more than an hour or so), it may also have something to do with the while-typing parsing that LLVM provides (look at this web page under the "Apple LLVM Compiler" section). This is known as "Live Issues", which you can turn off in Xcode's General preferences.
Upvotes: 0