you may need to change the settings on your mac to allow apps downloaded from anywhere. depending on the version of macOS it can be a different process but generally you'll want to go to System Preferences > Security & Privacy and then choose "Anywhere" under "Allow apps downloaded from:"
sorry for the issues you're having! i hope this helps!