title: 解決xcode升級以後安裝的插件失效
date: 2015-08-23 11:07:53
categories: 編輯工具小程序
個人博客:http://daycoding.com
小小程序猿xcode
xcode升級以後uuid會發生變化,導致原來的plugin失效
解決方案app
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`