I haven't been able to find an answer to this question in this forum, and I have noticed that other developers of similar tools, are running into the same issue (Etcher, CCC, etc).
I've developed an application (ApplePi-Baker) to backup or restore external disks (usually these are SD cards for use with Raspberry Pi, but these can be USB drives as well).
With the arrival of Mojave, I revamped my application to make it use a so called Privileged Helper Tool, which was a pain to implement, but now it works great.
However,... with the arrival of Catalina this no longer seems to work. Trying to open a disk (only external disks) simply fails.
The application and helper tool are 64 bit, have the proper plist files, have been signed, and the DMG has been notarized.
Also note that the application is NOT sandboxed and NOT distributed through the Apple Store.
Adding the application bundle to "Security & Privacy" - "Privacy" - "Full Disk Access" does not seem to make a difference in Catalina.
The helper tool is located in the application bundle (../Contents/Library/LaunchServices) with the proper embedded plists and association with the main application (and viceversa). At start of the application, the helper tool (after the user authorizes this) is installed correctly.
Note: In Catalina, it appears one cannot add the Helper Tool itself to the "Full Disk Access" list. From what I have found: these rights are inherited from the main application.
I'm running the final release of Catalina, not a beta version, and the application is developed with Lazarus Pascal.
Interesting observation:
I can open the "disk" of a mounted DMG without any issues.
Console is not providing me with anything useful either at least nothing I could find anyway - insight is much appreciated.
The minute the helper tool tries to open the disk, I get these messages, and honestly I do not have aclue what these messages mean (couldn't find anything online either):
default 12:40:31.478127+0200 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier com.tweaking4all.ApplePiBaker, type: 0: 0x7fafa2618ec0 at /Applications/ApplePiBaker.app
default 12:40:32.227840+0200 runningboardd Invalidating assertion 313-163-227 (target:executable<applepibaker(501)>) from originator 163
default 12:40:32.332542+0200 runningboardd [executable<applepibaker(501)>:978] Ignoring jetsam update because this process is not memory-managed
default 12:40:32.332627+0200 runningboardd [executable<applepibaker(501)>:978] Set darwin role to: UserInteractiveNonFocal
default 12:40:32.332809+0200 runningboardd [executable<applepibaker(501)>:978] Ignoring GPU update because this process is not GPU managed
Can anyone help me get insight what is going wrong or what I should do?
If any additional info is needed, then I'd be happy to provide this info.