终端:Xcode升级失效解决办法

steps 1: Xcode退出,打开终端

steps 2:输入如下代码获取DVTPlugInCompatibilityUUID

defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

steps 3:输入如下代码完成解决操作

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90

注意:如下引用为获取到的DVTPlugInCompatibilityUUID

7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90

steps4:运行Xcode,会弹框提示Load BundleorSkip,选择Load Bundle即可。

你可能感兴趣的:(终端:Xcode升级失效解决办法)