On Dec 10, 2013, at 10:38 AM, Charles Srstka <cocoa...@charlessoft.com> wrote: > > How about sandboxed applications? Their preference files are opaque to > NSUserDefaults, and only sometimes visible to /usr/bin/defaults. How should > one delete a corrupted plist file in a sandbox?
Not sure what you mean by "opaque." If you mean that NSUserDefaults can't read from another app's sandbox, then that is obviously by design. As far as defaults(1), that should always be able to find a sandboxed app's preferences. If it can't, file a bug. One workaround might be to killall cfprefsd, nuke the plist, and killall cfprefsd again. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com