在終端里輸入以下代碼獲取到UUID:
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
得到UUID以后運(yùn)行:
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add {UUID}
懶癌患者可以在終端輸入以下命令即可:
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`
終極懶癌患者可以用一下腳本:https://github.com/cikelengfeng/RPAXU
如果有手殘患者不小心在Xcode啟動(dòng)的適合Skip了插件脸侥,可以用如下命令先查看:
defaults read com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-{Current Xcode Version}
然后用暴力的辦法建邓,刪掉它,重新Load一下就穩(wěn)妥了睁枕,命令如下:
defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-{Current Xcode Version}