Disable “The application unexpectedly quit” message in OS X

Posted on

QUESTION :

While working on my application it crashes a lot while in development. However I always receive the annoying dialog box on the next Compilation » Build » Launch

The application unexpectedly quit while trying to restore its windows. Do you want to try to restore it’s windows again?

I never want that ever. How can I make it never ask me this question?

This application is an art project in C++, so I do not have access to some of the normal Objective-C / foundation frameworks within it if that matters.

ANSWER :

In System Preferences > General, find the checkbox “Restore windows when quitting and re-opening apps” and uncheck it. You may also be able to change this for the specific app (I expect it would be in its Info.plist).

Leave a Reply

Your email address will not be published. Required fields are marked *