Search code examples
objective-cmacosnsuserdefaultssandboxosx-mavericks

My sandboxed app was running fine in 10.8 but in 10.9 it seems that user defaults .plist is not saved at all


Sandboxed app was running fine in 10.8 but in 10.9 it seems that user defaults. plist is not saved at all. The location of plist is:

~/Library/Containers/com.example.myapp/Data/Library/Preferences/com.example.myapp.plist

and if I delete it, it will not be created again. In 10.8 this was working.

Has anyone seen this before or can anyone suggest a solution?


Solution

  • Problem solved with a reboot, well short of. Preferences are saved correctly and it works fine until I delete again the app container folder. Then a reboot is required again to fix this.