How do you allow arbitrary file selection in your own app?

I've written a little utility targeting Mac, for personal use. In it, I need to be able to select a file from an arbitrary location on my drive.

I have the "user selected file" entitlement added, and I have added my application to "Full Disk Access." But I still get a permissions error when I select a file with the file-open dialog (via .fileImporter).

I dragged the application from the Xcode build directory to Applications before adding it to Full Disk Access. Any ideas?

How do you allow arbitrary file selection in your own app?
 
 
Q