This error can occur in the constructor of
AppDelegate (when it calls
This occured to me when I have specified the application's entry point in
Info.plist in the Main Interface setting.
A similar error will occur any time an outlet exists for a control that no longer exists in Interface Builder.