Last active
July 20, 2022 12:57
-
-
Save jokefaker/95becf16a5a9b6309582 to your computer and use it in GitHub Desktop.
Xcode-Plugin Update
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
# 获取DVTPlugInCompatibilityUUID | |
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID | |
# 将获取到的DVTPlugInCompatibilityUUID加入plist | |
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add <获取到的DVTPlugInCompatibilityUUID> | |
# 命令合在一起 | |
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID` | |
# 重启的时候需要点击load bundle,如果点了skip的话,可以用以下指令,注意后面的版本要跟着变 | |
defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-6.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment