Please try restarting your Mac.

In case the issue remains, please check your Mac security settings.

You can click Apple icon on the top left of the desktop and select System Preferences and select Security&Privacy .

For MacOS Yosemite and earlier, you can click the lock icon at the bottom of the General tab and select 'allow apps downloaded from - Anywhere'.