With new security and permission related checks including in Mojave and Catalina. In my swift application I am trying to create a copy of file using below function
“open func copyItem(at srcURL: URL, to dstURL: URL) throws”
As I call this function , my application entry is created under Full Disk Access panel of Security & Privacy in System Preferences. Unless until I enable this I can’t create a copy of my file using the function I mentioned above.
My issue: This entry getting added to the Full Disk Access is happening silently, I dont see any security alert asking me to allow or dont allow. We dont even have any API to get this information , so that we can ask user to manually add it.
Where can I get appropriate documentation about Full Disk access feature which will help to understand which locations are restricted to access and how can I enable it programtically without users interference