I am new to Xcode, I have tried to create a simple program, there is no issues in the code and it builds as normal, but the iOS Simulator displays only black screen and is redirecting me to the AppDelegate.h File and it point the error in this line...
#import <UIKit/UIKit.h>
@class ViewController;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window; // Thread 1. Breakpoint 1.2
@property (strong, nonatomic) ViewController *viewController;
@end
Can anyone explain me the meaning of this error?
The error message...
I have enabled the NSZombie as you said and i had Thread 1. signal SIGABRT error. And i have this error also shown below the XCode.
Terminating app due to uncaught exception '
NSInternalInconsistencyException
', reason: '-[UIViewController _loadViewFromNibNamed:bundle:]
loaded the "ViewController
" nib but the view outlet was not set.'