Xcode8 + Objective-CでiOSアプリを作ってます。
古いXcode5時代のコードを移植しようとしてます。
StoryboardではなくxibファイルにViewControllerが入ってます。
こいつをAppDelegateのdidFinishLaunchingWithOptionsでインスタンス化
しようとしてますが、
this class is not key value coding-compliant for the key view.'
といって怒られます。

ViewControllerのインスタンス化に失敗してるみたいなのですが、
次のコードのどこが間違ってるのでしょうか?
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.viewController = [[ViewController alloc] initWithNibName:@"MainView" bundle:nil];
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
return YES;