MacOS运行‘flutter doctor’的时候,提示:“
2021-08-31 本文已影响0人
深渊凝视
如下:
/Users/mini2/Documents/Tools/flutter/bin/internal/shared.sh: line 224: 18572 Killed: 9 "$DART" --disable-dart-dev --packages="$FLUTTER_TOOLS_DIR/.packages" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
解决方法:终端输入如下 命令,按提示输入电脑密码,即可完美解决。
sudo spctl --master-disable
