macOS[Security&Privacy] - fancyfsz/FancyWiki GitHub Wiki

安全&隐私小技巧

  1. 解决macOS 无法打开xxx ,因为无法验证开发者的问题

After upgrading the macOS system, the option to allow downloading apps from any source in the Security & Privacy pane of System Preferences is missing. You can resolve this issue by running the following command in the command line:

sudo spctl --master-disable

如果还是报错,需要赋予文件安全性设置 参考 https://github.com/Tencent/xLua/issues/727 https://www.cnblogs.com/wt645631686/p/16516724.html

sudo xattr -r -d com.apple.quarantine your-file-path
  1. 将隐藏的文件夹显示出来(执行以下命令后重启Finder即可):
defaults write com.apple.finder AppleShowAllFiles -bool true
  1. 重启Finder可以使用命令行
killall Finder
  1. 启动台不见了怎么办 从Finder的应用程序里面找到启动台长按将其拖动到程序坞即可