Alex Rivera | Logout

Sigabrt on Main function

Asked 2011-01-18T16:11:48.503
14

I've just began to learn iOS development and now I have a sigabrt on my main function. The error is triggered by calling:

    int retVal = UIApplicationMain(argc, argv, nil, nil);

As I am very new to iOS programming I have no idea on what could by causing this error. One thing that I have found on my callstack is the following exception being raised: dyld_stub_objc_exception_throw What could be causing this error?

Edit
Report

1 Answer

2

It was just a typical error of someone learning a new language/API. I forgot to properly set up the view.

UIView *controllersView = [myViewController view];
[window addSubview:controllersView];
answered 2011-01-18T17:54:56.773

Your Answer