Skip to content

Instantly share code, notes, and snippets.

@eran3d
Created December 15, 2015 08:04
Show Gist options
  • Save eran3d/98faa18c357671aaea6c to your computer and use it in GitHub Desktop.
Save eran3d/98faa18c357671aaea6c to your computer and use it in GitHub Desktop.
Run this script when xcode plugins fail to load
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