Created
October 22, 2015 17:53
-
-
Save JackieQi/32bd12bc6518f86d638c to your computer and use it in GitHub Desktop.
Update Xcode Plugins
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
#!/bin/bash | |
xcodeUUID=`defaults read /Applications/Xcode.app/Contents/Info 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 | |
#checkout loaded plugins | |
#defaults read com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.1 | |
#to force xcode reload bundles | |
#defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment