1. “App” can’t be opened because Apple cannot check it for malicious software.
一般来说,在System Preference里面的Security & Privacy页面是这样的。
sudo spctl --master-disable
执行完该指令后:
然后等我们的app可以正常打开后,执行上面命令的逆向:
sudo spctl --master-enable
然后就又恢复原先的安全策略了。。。