一.先让所有插件加上当前Xcode版本的DVTPlugInCompatibilityUUID
关闭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
二.默认值改为当前版本号,7.1为你现在Xcode的版本号,不是7.1的自行修改
defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.1
三.完成上面操作后,重新打开Xcode,会弹出下面提示框,选择Load Bundle,再次进入Xcode后我们的插件又能使用啦