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