“pgAdmin 4”损坏无法打开

“pgAdmin 4” is damaged and can’t be opened

我 运行 Mac OSX EL Capitan 10.11.2.

我想将 PgAdmin 4 安装到计算机上,但是当我在安装后打开应用程序时收到此消息 “pgAdmin 4” is damaged and can’t be opened. You should move it to the Trash.

我正在使用从这里下载的 https://www.postgresql.org/ftp/pgadmin/pgadmin4/v2.1/macos/

任何人都可以向我解释为什么我会收到这条消息吗? 有办法解决这个问题吗?

System Preferences 下,选择 Security & Privacy。要修复“移至废纸篓”错误,我们需要将 允许从 下载的应用程序更改为 任何地方 .

选项

或来自 CLI:

sudo spctl --master-disable