Mac sandbox created but no NSUserDefaults plist

前端 未结 5 1750
一个人的身影
一个人的身影 2020-12-06 06:34

I\'m trying to track down some issues arising from sandbox creation. Under multiple circumstances it appears that an NSUserDefaults .plist file is not created in Data/Libra

5条回答
  •  醉话见心
    2020-12-06 06:56

    Just moving this into a full answer so it doesn't get missed. I only read it after trying the other solutions when this was solved in a few clicks.

    @greg and @mehals answer in the comments section for the first solution solved it for me without needing to change any of my code

    Killing cfprefsd did the trick from activity manager.

提交回复
热议问题