NSInternalInconsistencyException Could not load nib in bundle

Solution 1:

In project -> Build Phases

Make sure the .xib is added to Copy Bundle Resources

Solution 2:

It looks like you're trying to instantiate a nib called ThemePickerController.nib and it isn't present. Is the nib included as a project member?

Solution 3:

Another common issue is trying to load a nib in the init methods of viewControllers. Should be in viewDidLoad.

Solution 4:

It is easy... select the XIB file and make sure the desired target of the project is checked under the "Target Membership" section (under the "Show the file inspector" tab), and your problem is solved.

It is usually happening when you made a copy of an exists file and added to the project manually because in that case you should check the above mentioned target manually as well.