mac 使用技巧

删除xcode插件:

 ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins(可以按住快捷键command+shift+G直接进入到该目录) 


更新xcode后,插件失效解决办法:

终端输入:sudo find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth3| xargs -I{}defaults write{}DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`

或者:打开插件info.plist添加对应xcode版本的uuid


mac 使用技巧_第1张图片

mac显示隐藏"隐藏文件/文件夹"

显示:defaults write com.apple.finder AppleShowAllFiles -bool true

隐藏:defaults write com.apple.finder AppleShowAllFiles -bool false

操作结束最好重启finder

你可能感兴趣的:(mac 使用技巧)