Nico AD
Nico AD

Reputation: 1709

Xcode 6.3 freezes for more than 2 minutes while typing objective C code

Since I updated to Xcode 6.3 I experience very frequent freezes in XCode 6.3.

the reproduction steps are :

[undoManager _endTopLevelGroupings] at top of it:

enter image description here

Upvotes: 2

Views: 338

Answers (1)

Eric McNeill
Eric McNeill

Reputation: 1814

If you're using the same Perforce checkout script we are (from the Perforce web site), I tracked the problem down to the line where the script tells Xcode to show the feedback dialog:

osascript -e "tell application \"xcode\" to display dialog 
  (system attribute \"XC_RES\") buttons {\"OK\"} default button 
  1 giving up after (system attribute \"XC_TO\")"

Setting fb=0 disables this functionality, so you don't get the confirmation that the checkout was successful, but you don't get the hang either.

The same osascript command works fine for me from Terminal, not sure why Xcode has a problem with it running in this context. I can do without the feedback, so didn't track it down any further.

Upvotes: 3

Related Questions