Post

Replies

Boosts

Views

Activity

Reply to Access of removable volumes from file provider on macOS Sequoia
Hello, The "Removable Volume access request" is actually triggered by a start() call to ICDeviceBrowser (this class can scan for cameras and scanners connected to the computer) The flow is like this: I. In the main app discovers the connected scanners or cameras like this: let browser: ICDeviceBrowser browser.start() // This will trigger the Removable Volume access request II. I accept the request and devices are discovered and connected. III. After a device is discovered I create a new FileProvider extension for the new connected device. 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: let browser: ICDeviceBrowser browser.start() 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. This workflow worked fine until now (before macOS Sequoia). Thank you.
Sep ’24