Xcode 5 - DVTPlugInCompatibilityUUID 中不存在所需的插件?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/20732327/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 5 - Required plug-in not present in DVTPlugInCompatibilityUUIDs?
提问by nomann
After upgrading Xcode to v5.0.1, I started receiving following warning in terminal when trying to run git commands inside project folder:
将 Xcode 升级到 v5.0.1 后,当我尝试在项目文件夹中运行 git 命令时,我开始在终端中收到以下警告:
[MT] PluginLoading: Required plug-in compatibility UUID 37B30044-3B14-46BA-ABAA-F01000C27B63 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs
[MT] PluginLoading:所需的插件兼容性 UUID 37B30044-3B14-46BA-ABAA-F01000C27B63,用于路径“~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin”中的插件不存在在 DVTPlugInCompatibilityUUID 中
I am not getting any warning inside Xcode and the project is compiling just fine but there must be a reason. Any ideas why is this happening and how to fix it?
我在 Xcode 中没有收到任何警告,项目编译得很好,但一定有原因。任何想法为什么会发生这种情况以及如何解决它?
回答by ian
I modified a shell commands I found hereto fix this for all my plugins.
我修改了我在这里找到的一个 shell 命令来解决我所有插件的问题。
To fix this issue:
要解决此问题:
XCODEUUID=`defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
for f in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*; do defaults write "$f/Contents/Info" DVTPlugInCompatibilityUUIDs -array-add $XCODEUUID; done
回答by Ostafi Ion
Try to do : xcode-select --install
. It resolved my problem
尝试做:xcode-select --install
。它解决了我的问题
回答by Quanlong
In my case of Xcode 7, remove all Xcode plugins fixed my issue.
就我的 Xcode 7 而言,删除所有 Xcode 插件解决了我的问题。
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*
回答by ohnit
I believe the issue is that you have an Xcode plugin installed that has a missing (or has an incorrect) DVTPlugInCompatibilityUUIDs
key-value pair in its plist file. See what this plugin did to solve it: https://github.com/gfontenot/XVim/commit/35bbf24bc074e330a9bea852c190d8fdcbfff1ea
我认为问题在于您安装了一个 Xcode 插件,该插件DVTPlugInCompatibilityUUIDs
在其 plist 文件中缺少(或不正确)键值对。看看这个插件做了什么来解决它:https: //github.com/gfontenot/XVim/commit/35bbf24bc074e330a9bea852c190d8fdcbfff1ea
Maybe check if your plugin (looks like it's for Unity) has an updated version.
也许检查您的插件(看起来像是用于 Unity)是否有更新版本。
回答by dazza5000
I had deleted unity from my machine. After installing unity the builds worked for me. I was trying to build an app using robovm.
我已经从我的机器上删除了 unity。安装 unity 后,构建对我有用。我试图使用 robovm 构建一个应用程序。
回答by sereschkin
Maybe it is a bit late, but I had just to restart Xcode after an Xcode update and press the install components button when it showed up. Then my git problems were gone.
也许有点晚了,但我只需要在 Xcode 更新后重新启动 Xcode,并在它出现时按下安装组件按钮。然后我的 git 问题就消失了。