I'm on Mac OS, and I used the command in the terminal, but it produced:
xattr: /Users/NAME/Downloads/CottageVille.app: No such xattr: com.apple.quarantine
Let me know if there's something I should be doing!
Replace NAME with the name of your home folder. That should get it to work.
Yes, I just replaced it because I didn't want to share the name of that folder, which is my name. It's correct.