I am writing an app which will be sandboxed when I finish with it. For now it’s not.
The app will copy files from one location to another. Because it’s not currently sandboxed, I can preset the directories and go ahead.
When it’s sandboxed, I won’t be able to do that until I manually select the two locations. Without selecting the two locations, the code quietly doesn’t work.
I can’t find anything which lets me know whether I can go ahead. Is there some sort of status I can examine?
You could try something simple like this example code.
Change the
File Access Typein yourApp Sandboxand see the changes.