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

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

 获取新版xcode的uuid

Xcode6.3.2显示E969541F-E6F9-4D25-8158-72DC3545A6C6

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add E969541F-E6F9-4D25-8158-72DC3545A6C6

 

或者执行下面一条命令即可

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`

 

posted @ 2015-05-27 09:48  嗷大喵  阅读(386)  评论(0编辑  收藏  举报