在运行carthage update
最新版本的Alamofire 时,我遇到了与您的错误输出类似的问题.这似乎是由于某些Xcode插件尚未与最新的Xcode完全兼容而引起的.在运行之前暂时将这些插件从Xcode插件文件夹中移出来carthage update
为我工作.
在你的情况,请暂时将在错误日志中提到的两个插件的Xcode,Unity4XC.xcplugin
并RealmBrowser.xcplugin
出~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
到别的地方,然后运行carthage update
.
就我而言,CocoaPodUi.xcplugin是在carthage更新期间导致xcodebuild错误的坏男孩.
另一种选择可能是将二进制文件中包含的Xcode的DVTPlugInCompatibilityUUID附加/Applications/Xcode.app/Contents/Info.plist
到~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/
.您可以使用Xcode手动执行此操作
open -a Xcode ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin/Contents/Info.plist open -a Xcode ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/RealmBrowser.xcplugin/Contents/Info.plist
或自动在终端上.
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist | xargs -IFILE defaults write FILE DVTPlugInCompatibilityUUIDs -array-add F41BD31E-2683-44B8-AE7F-5F09E919790E
F41BD31E-2683-44B8-AE7F-5F09E919790E是Xcode 7.2(7C68)的UUID,已在上面的错误输出中提供.
2015-12-17 13:25:56.420 xcodebuild[21997:5587012] [MT] PluginLoading: Required plug-in compatibility UUID F41BD31E-2683-44B8-AE7F-5F09E919790E for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2015-12-17 13:25:56.422 xcodebuild[21997:5587012] [MT] PluginLoading: Required plug-in compatibility UUID F41BD31E-2683-44B8-AE7F-5F09E919790E for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/RealmBrowser.xcplugin' not present in DVTPlugInCompatibilityUUIDs