MacOS升级到10.15.5,打开Flutter项目,或者运行‘flutter doctor’的时候,提示:“ 无法打开“dart”,因为Apple无法检查其是否包含恶意软件。 ”

如图 运行‘flutter doctor’提示如下错误,

解决方法: 终端输入如下 命令,按提示输入电脑密码,即可完美解决。

sudo spctl --master-disable

  

原文地址:https://www.cnblogs.com/lovestarfish/p/13049644.html