I've added a new localization for italian language in my project and after that I localized a xib file to start the translation of the project. The problem is, now when I run my project in the simulator, none of the xibs are found.
(GAIUncaughtExceptionHandler.m:41): Uncaught exception: Could not load NIB in bundle: 'NSBundle ...
I'm instantiating the file owner of this xib using initWithNibName.
I've tried both pure localization of the xib and the base localization, but none of them are working.
I'm initializing the owner like this:
[[SPConfigViewController alloc] initWithNibName:@"SPConfigViewController" bundle:nil];
EDIT:
After I created the localized version of the xib, I decided to just close XCode and open it again, and it worked...
initWithNibName
. – Vitaly Berg