I am creating a Vietnamese dictionary app for Mac. I have ".dictionary" file created using the Apple Dictionary Development Kit and I want to add it to the Mac build-in dictionary app. It can easily be done if my app run in a non-sandboxed environment (by copying the .dictionary file to ~/Library/Dictionaries/).
However, I want to submit my app to the Mac App Store but I don't know how to add my .dictionary file to the build-in dictionary app in a sandboxed environment. I have tried to create a Temporary Exception Entitlement using this key: "com.apple.security.temporary-exception.files.home-relative-path.read-write" but still unable to copy the .dictonary file to "~/Library/Dictionaries/" folder due to a permission error.
So my question is: Is it possible for me to add my .dictionary file to the Mac build-in dictionary app in a SANDBOXED environment? If it is possible, will my app get approved on the Mac App Store?