I set up an empty app with only an app delegate class, then subclassed a view controller class to create a xib to layout the app and make connections.
But when I tried
Applications are expected to have a root view controller
Replace in AppDelegate
[window addSubview:[someController view]];
to
[self.window setRootViewController:someController];