开发者

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..


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)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜