解決xcode升級以後安裝的插件失效

title: 解決xcode升級以後安裝的插件失效
date: 2015-08-23 11:07:53
categories: 編輯工具小程序

tags: xcode

個人博客: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`
  • find every plugin's Info.plist
  • default read current UUID of XCode
  • default write current UUID of XCode into plugin's DVTPlugInCompatibilityUUIDs from:stackoverflow
相關文章
相關標籤/搜索