-[UIViewController _loadViewFromNibNamed:bundle:] loaded the “X” nib but the view outlet was not set.

If you get such an error while starting your iPhone Application:

-[UIViewController _loadViewFromNibNamed:bundle:] loaded the “X” nib but the view outlet was not set.

You may have changed the content of you view. And because of that the nib has lost its view element.

To fix this error open you nib and select the ‘File’s Owner’ entry as you see below.

Within the utilities you can define the necessary view.

Restart and the error will be gone.

be happy until cancelled,
Your Codescale’s

Advertisement
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.