Mac Application is failed to modify a plist file after sandboxing

209 views Asked by At

I am developing a app for Mac App Store in which I need to clear recent histories of application for this I do remove a particular Key in a plist file. I do this with the help of "defaults delete" command. It works fine for me but after sandboxing my app is failed to do so.

Let me tell you the case I am removing a key named "FXRecentFolders" from "~/Library/Preferences/com.apple.finder.plist" file using "defaults delete" command. It give me the following error in sandboxing app

"sh: /bin/ps: Operation not permitted

2015-06-12 15:35:46.798 defaults[2801:101247]

Domain (com.apple.finder) not found.

Defaults have not been changed.

killall: warning: kill -TERM 256: Operation not permitted"

Due to this error my project is going too late.

0

There are 0 answers