IB using a lot of CPU and unusably slow in 8.1

In the 8.1 GM version of Xcode, Interface Builder is incredibly slow up to the point that it is basically unusable. Restarting Xcode will help from time to time, but after using it for a bit, it goes back to being unbearably slow. When looking at Activity Monitor, I see "Interface Builder Cocoa Touch Tool" taking up a lot of CPU processing power, even when Xcode is not building and I am not doing anything. Hopefully this can be fixed before the actual release.

Indeed.... it wirked smoothly just for one day... then back to sluggish 😟 unusable! Also other developers in my company are having this issue.

I've also filed a separate bug report with a sample project attached. #29261157

This is causing a major decline in productivity.


Steps to Reproduce:

1. Create an empty project

2. Create a New File > View

3. In Interface Builder go to Simulated Metrics > Top Bar > Opaque Navigation Bar


Expected Results:

Selecting a simulated nav bar should not impact IDE performance.


Actual Results:

IDE performance slows down to a near "hang". It becomes unusable, with CPU usage in the high 80%


Version:

Xcode Version 8.1 (8B62)

OSX El Capitan, 10.11.6

Hi,
I've also filed a separate bug report on Sierra #29352598


I have the same issue on Xcode 8.2 beta 1 and beta 2.

In my case, I noticed that if you set the root view's Top Bar value (Attributes Inspector > Simulated Metrics > Top Bar) from `Inferred` to `Opaque Navigation Bar`, it turns into hogging mode. Everytime you switch to this Nib file, your CPU usage turns up. Switching the value back to its default seems to resolve it.

@mkval Says it's OK. Solved for me. I set Top Bar to Inferred instead other options and runs fine!

It's a big bug on xcode that Apple can't permitts

My Xcode went so slow I couldn't go back anymore and change the BI settings.

Instead I opened the nib file in text editor and removed the setting there.

<simulatedNavigationBarMetrics key="simulatedTopBarMetrics" translucent="NO" prompted="NO"/>

After that Xcode went back to normal again.

IB using a lot of CPU and unusably slow in 8.1
 
 
Q