Cocoa app failed to write to user defaults

Yesterday, while doing a screen recording, I noticed that my cocoa apps could no longer write to user defaults to save preferences. I tested the same apps on another version of OS X 10.9 and they worked fine. I restarted my Mac and they work again.

Just before that, I deleted user defaults in username/Library/Containers/<app>. I think Mac needs to restart after deleting the user defaults.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s