Xcode7修复插件失败方法

1.关闭Xcode.

2.打开终端,输入以下代码获取到DVTPlugInCompatibilityUUID.

$defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

3.然后输入如下命令   【最后�一串数字换成上一步获取到的DVTPlugInCompatibilityUUID】

$ 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

4.成功.


PS:一键设置!

find ~/Library/Application\Support/Developer/Shared/Xcode/Plug-ins-nameInfo.plist-maxdepth3|xargs-I{} defaults write {} DVTPlugInCompatibilityUUIDs-array-adddefaults read /Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID

你可能感兴趣的:(Xcode7修复插件失败方法)