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

2.7k Views Asked by At

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.

2

There are 2 best solutions below

0
Celes On

Set the Large title attribute of Navigation Item to Never in the IB

3
Reem On

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.