Xcode Interface builder storyboard hangs

I am trying to develop a project that was built with Xcode 6. When I open it with Xcode 7.1, my storyboard becomes unresponsive. Both the "Interface Builder Cocoa Touch Tool" and the Xcode processes spike the CPU. If I look in Console.app, I see hundreds of lines that say..


Interface Builder Cocoa Touch Tool: assertion failed libxpc.dylib.


I am running OS X 10.11.1.


Does anyone know how to fix this issue?


I've tried deleting caches, followed by complete uninstall/resinstall. Nothing has fixed this issue.


Thanks

Replies

This is regression in Xcode 7.1 / 7.2 comparing to 7.0 which is working okay. It has been reported by me at rdar://23648041


I ecourage you to report it as well at https://bugreport.apple.com/

As a workaround we had to downgrade Xcode to 7.0.1 until Apple fixes that.

Might OP or anyone be able to provide a status update?


I am having the exact same issue EXCEPT it does not hang or make machine unresponsive. I'm running OSX 10.11.5 (15F34) and xcode 7.3.1 (7D1014).


Thanks

I'm struggling with the exact same issue as well. When I modify my storyboard, I get the wheel of death, Xcode hangs, and "Interface Builder Cocoa Touch Tool" pegs at 100% CPU core usage. I don't see hundreds of lines, but a few lines of this in Console:


6/21/16 12:34:40.552 PM Interface Builder Cocoa Touch Tool[12103]: assertion failed: 15F34 13E230: libxpc.dylib + 27596 [66C28065-C9DB-3C8E-926F-5A40210A6D1B]: 0x8d


No idea if it is related to the problem.


I have Xcode 7.3.1 and Mac OS 10.11.5.

getting this on xcode 9.0.1 on high sierra

I had this issue for a few hours and in the end I finally fixed it. IBCTT was eating up cpu and memory 5gb at one point and Xcode was unresponsive. I updated everything, cleared every cache and even tried throttling the tool but in the end the issue was simple but hard to detect. If that seems like your issue read on.



What you must do is clear all constraints on any view in the storyboard with errors if you are able to load it at least once. Then reset to suggested constraints and save.



If your storyboard has many views you want to Editor -> Refactor to storyboard the most complex or recently added/edited view.



You may notice in the crash report that it mentions an error not reporting a reason. Seems that I was having an error that I couldn't detect since the storyboard wouldn't load anyways. Refactoring out the view with the issue, then loading it first on a fresh restart showed the error and allowed me to clear constraints immediately.



Then restart Xcode by shutting down without force quitting to avoid the crash report and allow Xcode to start normally. Clear build folder then recompile.



This issue followed me through three installs of Xcode, 9.1 GM and 9.2 beta 1 and 2(9c34b) and a couple High Sierra beta updates (4 currently), so the issue seems to be deep within the AutoLayout engine. In all fairness to Apple constraints are a powerful idea but the variations involved on tools end has to be a nightmare.



Also my Interface Builder Cocoa Touch Tool is back to 84mb in Activity Monitor so I'm back to work....good luck!