发现安装的插件无效 后各种尝试后终于解决
1.先找到之前装的插件文件夹
前往文件夹:~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
1.打开终端,输入以下代码获取到DVTPlugInCompatibilityUUID
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
2.然后输入如下命令 【最后一项是获取到的DVTPlugInCompatibilityUUID】
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
以上命令如下图所示:
那些不能错过的Xcode插件http://www.cocoachina.com/industry/20130918/7022.html
时间: 2024-11-08 11:14:18