vinay
vinay

Reputation: 1316

Assertion failure.Interface Builder encountered an internal logic error

I am using SDK 4.2 and i got the error message while opening any interface builder.

Assertion failure

Interface Builder encountered an internal logic error. Choose "Continue" to continue running Interface Builder in an inconsistent state. Choose "Crash" to halt Interface Builder and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.

Need help on this..

Upvotes: 0

Views: 914

Answers (2)

Ganzolo
Ganzolo

Reputation: 1394

It happened to me because I was using a badge icon on my UITabBarItem.

To fix it, I've opened my .xib file with an XML editor and I've deleted this line :

<string key="IBUIBadgeValue">4</string>

Hope this will help :)

PS : I've also added an image in my UITabBarItem object (but it didn't resolve it)

Upvotes: 1

amattn
amattn

Reputation: 10065

Not much to go on here.

Basically, IB is crashing. It could be the file you are opening or corrupted preferences. Try deleting preferences or opening a known good nib/xib file.

Upvotes: 0

Related Questions