I can click on my preferences and set my updates (I’m setting whether to automatically update or not). If I run the app after that it runs fine, but if at any point I click on my app menu again, my app will crash. However, if I quit my app and then go back in to my preferences, I can see that they updated fine. Now, what I am pretty sure it is, is my app isn’t writing my preferences out until I quit. So the second time I go to the App menu, it crashes. How can I get my app to write my preferences as soon as I quit the preferences window?
I had this problem too while back. Go to Interface Builder, select your preferences window and uncheck “Release when closed” in the Attributes tab of the inspector.
Hope this helps ![]()