I would be interested to see if you are able to run it. The app bundle has a _CodeSignature folder containing a CodeResources file so it should be signed.
Hi Svan
Thanks for reaching out,
I tested your app and I have the error “test_4” cannot be opened because it is from an unidentified developer (screenshot below). I can bypass that if I right click the app and chose open. Not a big deal but it gets more complicated if pictures are embeded in the app, they won’t appear if the app has been downloaded ( you can wetransfer it to yourself to find out).
In that case the workaround is to unquarantine the app through terminal “xattr -d com.apple.quarantine” which I think is too complicated for the end user…
I wonder if the exported app could unquarantine itself at startup by executing terminal? Is such a thing possible?
Certainly possible to run cmdLine code using exec(). Might be able to call exec() at startup of main app (I’ve never tried it). What I don’t know is if it’s possible to piggyback a second processing app onto the main app and call it at startup. Alternative would be to create two separate apps and call the xattr code from the first app (assuming it knows the location of the second app). Embedding exec() in startup of main app would be the simplest if it’s doable.
N.B. If I place an image in the test_4 app I am no longer able to export it using Processing 4.1.1. Are you able to export a Mac app if it contains an image?