Reputation: 11899
I am trying to install google toolkit for mac, everything is setup as advised here : http://code.google.com/p/google-toolbox-for-mac/wiki/iPhoneUnitTesting but when I try to compile I get this error
Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Could not load NIB in bundle: ‘NSBundle (loaded)’ with name ‘MainWindow’‘
Any suggestions..? what am I missing...?
*EDIT : * Solution is to add your .xib file to the unit test target you have.
Upvotes: 5
Views: 256
Reputation: 15845
Alternative solution is to modify your unit testing target to not try and load the MainWindow nib:
Upvotes: 2
Reputation: 8593
You mean when you run, not when you compile?
Are you sure you've created the proper type of application? The MainWindow.xib file is created by Xcode when creating a new project.
Upvotes: 0