My application works for iOS 5.1 but for iOS 6 simulator I get the following error.
Terminating app due to uncaught exception \'NSInternalInconsist
The reason might be :
.h file check that it is a subclass of UIViewController. it will solve the problem.