issue with granting access on standalone (Mac OS)

fraction's icon

hi

on Mac OS monterrey, M1, I have some issue.
Let's say I have a basic run on loadbang that imports a json file located on /mydocuments. Let's make a standalone with it

Normally at its first launch, the OS will ask to grant access to /mydocuments as the application is trying to execute that operation

Even if I grant access at its first launch and anytime after, even if that appears in my privacy settings, the application keeps asking it all the time. I tried a lot of thing including clear right from terminal.

I wonder if this can be an issue with standalone made with max? I need to know where this comes from.
those are the very basic files to demonstrate my issue. Can someone using m1/monterrey try it?

1) make a standalone with those
2) create an empty mytest.json on /mydocuments/max 8/
3) launch the standalone a couple of times, and notice if that asks to grant access to /mydocuments at each start up,

thx in advance !

testimport.maxpat
Max Patch

testimport.js
application/x-javascript 0.24 KB

Lutz Bayer's icon

i have the same problems any solutions?

fraction's icon

code signing the application, and providing appropriate entitlements file seem to fix the issue.