It's not an actual error, rather the way MacOS deals with downloaded executable. It's a problem that has always existed, but that before was easier to solve.
In the last few days, I tried to bypass it building a browser version of my game: it turns out that HTML5 works in very unpredictable ways, triggering quite a lot of unexpected behaviors.
I swear I won't give up! :)