NSInternalInconsistencyException when loading nib file
Hello I have the following problem:
'NSInternalI开发者_StackOverflownconsistencyException', 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.
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.
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.
精彩评论