gyozo kudor
gyozo kudor

Reputation: 6345

NSInternalInconsistencyException when loading nib file

Hello I have the following problem:

'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </var/mobile/Applications/BB022A34-E830-4B04-8A0A-71548502F1B6/MyInternallyIncosistentApp.app> (loaded)'

My application is localized in several languages. When the iPhone is set to English it works well, but when I set it to German it gives me the this error. I just push a view controller onto the navigation stack. The nib I'm trying to load is not localized. Any help is appreciated. Thanks.

Upvotes: 0

Views: 392

Answers (2)

gyozo kudor
gyozo kudor

Reputation: 6345

My view controller xib was in the en.lproj folder for the english localization, so it only worked for English. I just had to move it out.

Upvotes: 0

Nathan Day
Nathan Day

Reputation: 6037

This usually means you have broken some link between you nib file and you view controller, this can happen if you rename a IBOutlet or IBAction but don't update it in your nib.

Upvotes: 1

Related Questions