I have got this error in the following 2 ways:
I was getting this error when I was pushing into another UIViewController.
HOWEVER by mistake I subclassed the other class from UITabBarController
and was getting this error.
How I got it fixed? I subclassed from UIViewController
and I was no longer crashing :)
I didn't want to use storyboard. So I deleted it. Yet I forget to delete its reference in the Project settings. I just clicked on the project >> General >> Deployment Info >> and I then I set the Main Interface to black space. (It was previously set to main)
As you can see for the both situations you're getting an error for accessing some object that does exist...