xcode管理插件Alcatraz的使用
- 安装Alcatraz:https://github.com/supermarin/Alcatraz 或直接运行:curl -fsSL https://raw.github.com/alcatraz/Alcatraz/master/Scripts/install.sh | sh
- Xcode插件目录: ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
- 常用插件:VVDocumenter、KSImageNamed-Xcode、Uncrustify
xcode插件失效修复
- 如果更新xcode后Alcatraz及其他xcode插件失效,需要添加新xcode版本的DVTPlugInCompatibilityUUIDs,运行以下代码可以批量更新DVTPlugInCompatibilityUUIDs:
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 DVTPlugInCompatibilityUUID
Uncrustify代码格式化插件
https://github.com/bengardner/uncrustify
lldb调试台:
expr @import UIKit