Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xcode error: ...this class is not key value coding-compliant for the key ibShadowedLargeTitleTextAttributes

I keep getting this error. The app worked before I used a color set.

The error says something about ibShadowedLargeTitleTextAttributes. I dont have any color set for the large title shadow, I am using the default (clear). I restarted Xcode, used a color for the shadow, removed it again. The error keeps showing up when I want to run it, but the built succeeds.

The full error message:

Terminating app due to uncaught exception 'NSUnknownKeyException',  reason: '[<UINavigationBar 0x10650fd10> valueForUndefinedKey:]:  this class is not key value coding-compliant for the  key ibShadowedLargeTitleTextAttributes.' 

Edit: The App is working when I choose another color for the title text (one that is not part of the color set). This is very strange since I use the exact same color for other text in the app. It is a color I made in a color set. I made a new color in the color set, it is also not working. I have to use a standard color or choose one from the standard color window.

like image 371
WalterBeiter Avatar asked Apr 14 '18 16:04

WalterBeiter


1 Answers

This error appears to me when I set the colors of anything in the navigation bar to a named color (from Assets).

I think it is a bug from Apple.

Anyway, you need to change the named color to a custom color to avoid this error.

like image 125
Reem Avatar answered Sep 23 '22 01:09

Reem