... would like to access files in your documents folder

I get this when several of my apps launch the first time and then not again.
However when I am running in the Xojo debugger I get it every time.
Is there a way to make this not happen?
Trivial, I know, but it’s a little annoying.

1 Like

You can’t. macOS sees every debug build as a brand new version of your app and wants to reverify.

well… crap…

Thanks for the response, Greg.

You could store your application data in the correct location, your own child folder of Application Support.

var fData as FolderItem
fData = SpecialFolder.ApplicationData.Child("com.mycompany.myapp")

if not fData.Exists then
  fData.CreateFolder
  
end

I store the application data there, but in this case there are user files that my application manages that need to go in the documents directory.
But maybe I can do what you suggest for debug builds and leave it as is for production.
I’ll stew on it. Thanks!

How do you sign your debug builds? I need to use full codesign even for debug build because my app needs full disk access and I don’t get the stupid dialogs in debug.

If you codesign your debug builds with a build script, then it will only ask once.