Curious if anyone else has encountered this and if a workaround has been found:
I have an AppleScript that manipulates files (xattrs, filename, path) within the running user's home directory. It is running as a compiled application signed to run locally. It has been added to Accessibility section of the Privacy and Security pane of System preferences. It ran quite happily before the 12.5 update was installed.
After installing the 12.5 public release, it gives the "System Events got an error. (script name) is not allowed assistive access. (-25211)" error immediately on launch.
I have removed the compiled script from the Accessibility group in Security and Privacy System Preferences pane, then re-added it. This did not help. I have given the compiled script Full Disk Access via the Security and Privacy pane. This also did not resolve the issue.
Oh - I can run the script in uncompiled form from within Script Editor with no issues. It's only the locally signed compiled application that gives the error.
Any suggestions?