Xcode 5.1にupdateした後に、使えなくなったxcode plug-inを再び使えるようにする方法


Xcodeをupdateしたら、なぜかplug-inがすべて使えなくなってしまいました。


対処方法はいつもの通り、stackoverflowさんに書いてありました。
DVTPlugInCompatibilityUUIDに`A2E4D43F-41F4-4FB9-BB94-7177011C9AED`を追加すれば使えるようになるらしい

http://stackoverflow.com/questions/22324303/the-plugin-didnt-work-on-xcode-5-1

とりあえず、defaultsコマンドを使って追加できるので、下のコマンドで追加します。

```
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist | xargs -IFILE defaults write FILE DVTPlugInCompatibilityUUIDs -array-add A2E4D43F-41F4-4FB9-BB94-7177011C9AED
```

設定されたか確認するには下のコマンドで、

```
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist | xargs -IFILE defaults read FILE DVTPlugInCompatibilityUUIDs 
```

追加すべきUUIDは、Xcodeプロジェクトがあるディレクトリで、`xcodebuild clean`を実行すると出てきます。(偶然実行しただけですが)

```
$ xcodebuild clean
2014-03-12 20:20:58.077 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XVim.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.079 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XToDo.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.080 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/XLog5.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.080 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/QuickLocalization.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.081 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OMColorSense.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.082 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KSImageNamed.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.083 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/KFCocoaPodsPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.084 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/JDPluginManager.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.085 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.086 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FuzzyAutocomplete.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.087 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/DocExpander.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2014-03-12 20:20:58.088 xcodebuild[43872:1007] [MT] PluginLoading: Required plug-in compatibility UUID A2E4D43F-41F4-4FB9-BB94-7177011C9AED for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ClangFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs
[...]
```