In my mac’s security settings (Privacy&Security/Full Disk Access), I have granted full disk access to application “SWI-Prolog“.
Despite this, when launching SWI-Prolog and using “File / Consult”, macos will open a pop-up with a message of ““SWI-Prolog” would like to access files in your Documents folder.” to explicitly allow/disallow this.
I have little to say about that. Was that any better? If so, I’d suspect Info.plist. This was populated by Qt for the old version and by hand now. Comparing the two, I notably see this in the old and not in the new. You may to add that.
Otherwise I know little about MacOS security. Maybe someone else has a clue?
One of the things suggested by ChatGPT is to sign the app, but than it first needs to be split into a framework and app as otherwise the commandline tools no longer work. Also this requires some help from someone understanding a bit more about the Mac than I do.