views:

175

answers:

0

I have developed an iPhone app using the navigation controller structure. The active SDK is set to iPhone Simulator 3.1.2 (Base SDK). When the Active Configuration is set to Debug, it works. However, when the Active Configuration is set to Release, the app crashes when it tries to load the second view controller. Here is error message:

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] was unable to load a nib named "ListsTableViewController"'

Why is the app able to find the "ListsTableViewController" nib when it is running in Debug configuration but not in Release configuration, and what do I need to do to fix it?

Thanks for your help,

Stephen