Skip to content

Instantly share code, notes, and snippets.

@jwthanh
Last active December 2, 2015 12:16
Show Gist options
  • Save jwthanh/8b73984a868594d0c9e1 to your computer and use it in GitHub Desktop.
Save jwthanh/8b73984a868594d0c9e1 to your computer and use it in GitHub Desktop.
Help to update xcode plugin UUID after upgrade xcode version.
xcodePath=`xcode-select -p`
xcodeUUID=`defaults read "$xcodePath/../../Contents/Info.plist" DVTPlugInCompatibilityUUID`
echo $xcodeUUID
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add $xcodeUUID
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment