Don't work with new Xcode 7 version

I got stuck with a runtime error when I tried to run this app at XCode8.1 and the combination of your post with another one from MikeyWard here on the forum solved it for me. So here’s what I needed to do:

  1. To get the app running I just needed to add the following bold line to the AppDelegate.m file:


UIWindow *theWindow = [[UIWindow alloc] initWithFrame:winFrame];
theWindow.rootViewController = [[UIViewController alloc]init]; // Crucial to make the app run
self.window = theWindow;

This is because apparently now Xcode demands a root view controller instead of just giving a warning.

  1. The app will run, but none of it’s view objects will respond. To get them to respond I used the MikeyWard’s solution:

Now it runs and responds to user events.