Hopefully the other commenter's solution helped, but if not, you could also try the instructions here: https://help.yoyogames.com/hc/en-us/articles/216753558-Mac-app-damaged-when-down...
Long story short, it's an issue because Apple doesn't really like software being distributed outside of their App Store >:(