xcode crashes when i tap cmd + anykey

hi all,

on a certain project when i tap cmd+ any key it crashes right away and i'm getting :

"

ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-9548/IDEKit/Application/IDEWindowMenuController.m:101

Details: itemName should be a non-empty string, but it's an empty string



can anyone advise?

Replies

sorry if I missed it - which version xcode?

I'm getting the same assertion failure crash, repeatedly, but I don't have to type anything, just launch,wait a few seconds, crash.

I got the same crash earlier today. There was something wrong with some user data. I deleted the local project and re-cloned from repository and that fixed it.

Had exactly the same problem and here is what turnet out to be the reason for me:


I had ~7 tabs opened in this crashing project and once I started closing them one-by-one, I found out that one of the tabs had an empty title (no title at all).

When I closed this tab with an empty name, Xcode stopped crashing.


Hope this helps someone!