解决xcode升级之后安装的插件失效

title: 解决xcode升级之后安装的插件失效
date: 2015-08-23 11:07:53
categories: 编辑工具

tags: xcode

我的博客:http://daycoding.com

小小程序猿

xcode升级之后uuid会发生变化,致使原来的plugin失效
解决方案

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

你可能感兴趣的:(解决xcode升级之后安装的插件失效)