Error in Xcode "viewpoint not set".

I have a problem with Xcode. Every time I launch my application in Simulator, the application stops in black screen mode, and the debugger writes this code:

2012-07-04 11: 54: 08.348 myApp [661: f803] * The application terminated due to the uncaught exception "NSInternalInconsistencyException", reason: '- [UIViewController _loadViewFromNibNamed: bundle:] loaded "myappViewController", but the exit viewpoint was not installed. ''

An Internet search that I read to establish a connection between a view and a view in Outlets.

For "File Owner" → "Connection Inspector" → "Sockets" I have a related view to view.

The result is always the same. The same mistake.

Is there any other way around this problem?

Thank you all

+2
source share
1 answer

try selecting the owner of the file in the interface builder, select the number three tab in the property inspector (called Identity Inspector in the help with freezing) and make sure that the Custom Class property is set to 'myappViewController'

Also verify that the root UIView is connected to the “File Owner” by selecting the root view in Interface Builder to select the last tab in the Property inspector (the so-called “Property Inspector” in the hover help) and check the reference outputs.

don't forget to check if the shell matches the names in both places.

0
source

All Articles