Can someone help me solve this:
My ObjC based app includes a compiled AppleScript that I invoke from the app repeatedly, using
Even though the script uses no global properties, it apparently gets modified each time it runs, and that then breaks the code signing (checked with
Does someone have a suggestion how to prevent this from happening? I could remove the “w” permission from the file, but that looks like a cludge to me. Also, I could copy the script to a private directory outside of the app and execute it from there. But I wonder if there are better ways.