IOS app Crash due to “Could not load NIB in bundle”

iosiphonexcode

when i run the simulator there is a crash and i don't know why it give me this
"
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: 'NSBundle (loaded)' with name 'ViewController_iPhone''"
could anyone help me ?

Best Answer

Are you sure that a "ViewController_iPhone.xib" file has been added to your project?

Either add it to your project/target, or (if it already there) check the nib name you are using on the statement that is causing the crash, or check your info.plist file if the crash happens at startup.

If everything is correct, clean your project and build again.