纳金网

标题: Xcode升级后unity插件报UUID错误的处理 [打印本页]

作者: 烟雨    时间: 2015-9-28 01:36
标题: Xcode升级后unity插件报UUID错误的处理
XCode升级更新后,UUID会更新,所有插件会报以下错误,包括unity4xc,虽然不影响发布,但还是处理一下较好

xcodebuild[2956:104580] [MT] PluginLoading: Required plug-in compatibility UUID 7FDF5C7A-131F-4ABB-9EDC-8C5F8F0B8A90 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Unity4XC.xcplugin' not present in DVTPlugInCompatibilityUUIDs

国外坛子里淘回来的,比较有效,记录一下

打开Terminal执行以下两条语句:
1. XCODEUUID=`defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`
2. for f in ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*; do defaults write "$f/Contents/Info" DVTPlugInCompatibilityUUIDs -array-add $XCODEUUID; done








欢迎光临 纳金网 (http://go.narkii.com/club/) Powered by Discuz! X2.5