Skip to content

Instantly share code, notes, and snippets.

@dangerwolf
Created December 9, 2016 08:30
Show Gist options
  • Select an option

  • Save dangerwolf/e141c3d8795a26b0193d2f0aa166d4ea to your computer and use it in GitHub Desktop.

Select an option

Save dangerwolf/e141c3d8795a26b0193d2f0aa166d4ea to your computer and use it in GitHub Desktop.

#MacOS Sierra

[TOC]

第三方应用安装

macOS Sierra 因为增强了GateKeeper的安全性,所以“允许任何来源的应用”选项被隐藏,目的在于避免除Mac AppStore和正规签名外的未知或未签名App在系统内被任意执行,从而威胁用户隐私和系统安全。但这也造成了很多不便。关闭方法:在终端中输入命令sudo spctl --master-disable,验证口令后即可。

Gem

sudo gem update -n /usr/local/bin --system

##command line tools apple develop中心提供了直接安装command line tools的方法: xcode-select --install

Error: /usr/local is not writable. You should change the ownership and permissions of /usr/local back to your user account: sudo chown -R $(whoami) /usr/local

##Xcode8注释问题 sudo /usr/libexec/xpccachectl 然后重启电脑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment