Xcode更新之后插件失效的解决办法

打开终端,输入以下代码:

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

获取到DVTPlugInCompatibilityUUID,然后

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add 9F75337B-21B4-4ADC-B558-F9CADF7073A7

重启xcode

注:重启xcode后,要点击load bundle,如果不小心点了skip bundle,则可以使用命令:

 defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.3

Xcode-7.3为当前版本号

获取xcode的序列号

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

你可能感兴趣的:(Xcode更新之后插件失效的解决办法)