I have an problem with Xcode 6 really responding very slowly to user interactions, e.g. editing code, scrolling areas etc. This particularly happens when the interface builder show the view controllers with constraints in the storyboard (4/14 vcs has constraints i just begin the project) additional i use extra monitor.
I'm wondering if there is anything I can do to improve performance changing xcode options or other way.
My development machine is a MacBook Pro Retina (Retina, 15-inch, Late 2013) with 2.3Ghz Intel Core i7 and 16 GB RAM (1600 MHz DDR3), running OSX 10.9.5 (Mavericks).
I had this same problem where performance plummeted on an external display.
What I ended up discovering was that the external monitor issue was indicating that there was a UIView that interface builder couldn't quite figure out properly for auto-layout.
In my case it was a UIToolbarBarItem
that contained a UIView
that contained a UILabel
. Once I removed the offending UIToolbarBarItem
the performance issue resolved itself. It went from being completely unusable to smooth scrolling.
You should check if you have a UIView inside something that might cause auto-layout to freak out.
Do you use an external monitor? If yes, probably that's the problem. Try moving to the main macbook screen and try again.
That solved the problem for me.
EDIT: sorry, just read you have an external monitor. So yes, move to the main screen and check if that solves the problem.
EDIT 2: seems like Apple fixed the problem, no more issues using my external monitor!
EDIT 3: meh! Problem persists, not sure why it stopped happening, and happens again now.
Wow, thanks so much guys! I was having a huge problem with Xcode being slowed to a crawl while I was modifying interface elements in the interface editor. All I had to do was uncheck "Use Auto Layout" under the .xib's File Inspector tab, and it's running faster than ever!
So if you have any problems with Xcode's interface editor / Interface Builder being slow, just disable Auto Layout for that .xib while you're working on it, then when you're done editing the .xib, as a final step, re-enable it and add your constraints to the items.