Hello,
I developed a file provider extension that can access files from multiple locations. With the new macOS Sequoia I cannot access files from volumes, here is the error from Console:
Refusing TCCAccessRequest for service kTCCServiceSystemPolicyRemovableVolumes from extension Sub:{com.app.ext}Resp:{TCCDProcess: identifier=com.app.ext-Driver, pid=26706, auid=501, euid=501, binary_path.... Driver}, extension point disallows prompting
I added "Privacy - Removable Volumes Usage Description" values for both the main app and extension Info.plist, I click Allow on the alert, but still I receive this error message.
Any solution? Thank you.
start() will trigger the Removable Volume access request, this time inside the FileProvider. This is where it fails, see above the error message. I don't know why it triggers again the request, the main app is already confirmed.
I suspect the issue here is that part of ICDeviceBrowser's implementation lives out of process and that check isn't accounting for how permissions might be inherited.
IV. In the FileProvider class I connect to the scanner, but to connect to a scanner I must start again a device browser monitor in order to have a reference to the actual scanner device:
Is there any reason why your main app couldn't transfer a reference over to your file provider. There's a section of "Accessing files from the macOS App Sandbox" that covers how to do this.
__
Kevin Elliott
DTS Engineer, CoreOS/Hardware