Created
April 1, 2016 01:03
-
-
Save regnerjr/1ac5b07e04ba869e7e09eb974cd5d3ee to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xcode_plugin_update_uuid () { | |
| local xcode plugin | |
| for xcode in /Applications/Xcode*.app | |
| do | |
| uuid=$(defaults read "$xcode/Contents/Info" DVTPlugInCompatibilityUUID) | |
| echo "$xcode - $uuid" | |
| for plugin in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*.xcplugin | |
| do | |
| echo "Updating $plugin" | |
| defaults write "$plugin/Contents/Info" DVTPlugInCompatibilityUUIDs -array-add $uuid | |
| done | |
| done | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment