全在终端执行,依次输入如下命令
//获取DVTPlugInCompatibilityUUID字段
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
//将XXXX替换成刚刚获取的DVTPlugInCompatibilityUUID
find ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add XXX
最后记得重启 xcode, 然后选择 Load Bundle 加载就 OK 了