1.打开终端,输入以下代码获取到DVTPlugInCompatibilityUUID
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
2.然后输入如下命令 【最后一项是获取到的DVTPlugInCompatibilityUUID】
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add xxxxx-xxxxx-xxxxx-xxxxx此处加上你的UUID
网友评论