「一次性解决方式」

第一步
打开终端
sudo softwareupdate --ignore "macOS big sur"
第二步
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
重启终端
第三步
killall Dock
搞定

「永久解决方式」:

如果想永久生效,必须把每次开机加载的系统自动更新进程干掉才行。这里采用吊销权限的思路。
打开终端输入以下命令,强制吊销系统更新通知权限,但是这样会禁用系统更新的自启权限,阻碍正常的系统更新通知。如果对类Unix不专业的小伙伴,请慎用。
sudo mount -uw /
sudo chmod 600 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
killall Dock
如果你已经吊销了系统自动更新提示进程的权限,又后悔了,想要恢复,输入以下命令即可。
sudo mount -uw /
sudo chmod 777 /System/Library/PrivateFrameworks/SoftwareUpdate.framework/Versions/A/Resources/SoftwareUpdateNotificationManager.app/Contents/MacOS/SoftwareUpdateNotificationManager
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
killall Dock
a、在host添加以下几行(可用gas mask):
127.0.0.1 swscan.apple.com
127.0.0.1 http://swdist.apple.com
127.0.0.1 http://swcdn.apple.com
127.0.0.1 http://swquery.apple.com
127.0.0.1 http://swdownload.apple.com
b、在终端里运行以下命令消除红点:
defaults write com.apple.systempreferences AttentionPrefBundleIDs 0
Killall Dock
c、重启MAC
转自:知乎
badge