1.首先安裝 Xcode 插件管理工具Alcatraz
使用命令行安裝
curl -fsSL https://raw.githubusercontent.com/supermarin/Alcatraz/master/Scripts/install.sh | sh
2.通過Alcatraz搜索安裝其他插件
我使用的插件列表
- Backlight
- BBUDebuggerTuckAway
- BBUUtilitiesTuckAway
- cocoapods
- CodePilot
- ColorSenseRainbow
- KSImageNamed
- RTImageAssets
- VVDocumenter
- XcodeColors
3.更新Xcode 後導致插件不可用,使用命令行解決
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`