Hi,
I have a XIB in a project that targets iOS 8. It was working just fine, until I localized it into 12 languages (including base) by using the file inspector. The outcome is that now I have been stuck with this error: Could not load NIB in bundle
...for over a day. This is on XCode 6 and trying things people suggested on StackOverflow have not helped. Instead of localizing it into 12 separate XIBs, Xcode has turned it into 12 string files, which would be nicer if only I could get it working. But at this point, I would even consider abandoning the approach if I could figure out how to convert these string files into XIBs again.
Sen
Stack trace:
2015-06-29 21:33:35.519 App[22155:3490414] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle </Users/Library/Developer/CoreSimulator/Devices/C690E027-9147-4640-94EC-1FD9A9006B4E/data/Containers/Bundle/Application/9F944B8F-EFAF-4784-B864-2161B762A638/Calligrapher.app> (loaded)' with name 'HostAppViewController''
*** First throw call stack:
(
0 CoreFoundation 0x00aaa746 __exceptionPreprocess + 182
1 libobjc.A.dylib 0x00733a97 objc_exception_throw + 44
2 CoreFoundation 0x00aaa66d +[NSException raise:format:] + 141
3 UIKit 0x013c5e2f -[UINib instantiateWithOwner:options:] + 1003
4 UIKit 0x011e0124 -[UIViewController _loadViewFromNibNamed:bundle:] + 270
5 UIKit 0x011e08bb -[UIViewController loadView] + 295
6 UIKit 0x011e0aef -[UIViewController loadViewIfRequired] + 78
7 UIKit 0x011e1095 -[UIViewController view] + 35
8 UIKit 0x010d2e85 -[UIWindow addRootViewControllerViewIfPossible] + 66
9 UIKit 0x010d334c -[UIWindow _setHidden:forced:] + 287
10 UIKit 0x010d3648 -[UIWindow _orderFrontWithoutMakingKey] + 49
11 UIKit 0x010e19b6 -[UIWindow makeKeyAndVisible] + 80
12 App 0x00093bca -[AppDelegate application:didFinishLaunchingWithOptions:] + 1242