How can we access and add applications under Full Disk Access pane programatically
There is no API to get or set the Full Disk Access list in System Preferences. While it’s impossible to predict the future with 100% accuracy, my best guess is that Apple will not add an API to modify this list; these settings are deliberately meant to be under the control of the user.
Reading this list, or getting your own app’s status, is a slightly different story. The best way forward depends on your specific requirements. You wrote:
In my swift application I am trying to create a copy of file using …
What file are you trying to copy?
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
I have same issue with SyamalaDutt.
Because Use select "Don't Allow" on security alert while app need to access to file. Then file will broken or corrupted
So My app need to get status that whether use have to enable Full Disk Access\Files and Folders or not?
Also, I'm try disable Full Disk Access for my app, but security alert don't again show.
I think that security alert have some problem. it is too bad