XCode 更新后的插件更新

转载自:http://blog.csdn.net/zhangao0086/article/details/44196415

对还没有支持Xcode 6.2的插件有效,Alcatraz 的新版已经支持。

  • 进入到插件目录 ~/Library/Application Support/Developer/Shared/Xcode/Plugins
  • 显示插件的包内容
  • 编辑Info.plist文件
  • 展开DVTPlugInCompatibilityUUIDs
  • 添加一个新的item:A16FF353-8441-459E-A50C-B071F53F51B7

对于Xcode 6.3,使用这个UUID:9F75337B-21B4-4ADC-B558-F9CADF7073A7

其实就是 /Applications/Xcode.app/Contents/Info 里边的 DVTPlugInCompatibilityUUID

分享一个批量更新插件的 DVTPlugInCompatibilityUUID 的命令:

<code class="hljs lasso has-numbering" style="display: block; padding: 0px; color: inherit; box-sizing: border-box; font-family: 'Source Code Pro', monospace;font-size:undefined; white-space: pre; border-radius: 0px; word-wrap: normal; background: transparent;">find ~/Library/Application<span class="hljs-subst" style="color:#000000;box-sizing: border-box;">\</span> Support/Developer/Shared/Xcode/Plug<span class="hljs-attribute" style="box-sizing: border-box;">-ins</span> <span class="hljs-attribute" style="box-sizing: border-box;">-name</span> Info<span class="hljs-built_in" style="color:#66066;box-sizing: border-box;">.</span>plist <span class="hljs-attribute" style="box-sizing: border-box;">-maxdepth</span> <span class="hljs-number" style="color:#06666;box-sizing: border-box;">3</span> <span class="hljs-subst" style="color:#000000;box-sizing: border-box;">|</span> xargs <span class="hljs-attribute" style="box-sizing: border-box;">-I</span>{} defaults write {} DVTPlugInCompatibilityUUIDs <span class="hljs-attribute" style="box-sizing: border-box;">-array</span><span class="hljs-attribute" style="box-sizing: border-box;">-add</span> <span class="hljs-string" style="color:#0880;box-sizing: border-box;">`defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`</span></code><ul class="pre-numbering" style="box-sizing: border-box; position: absolute; width: 50px; top: 0px; left: 0px; margin: 0px; padding: 6px 0px 40px; border-right-width: 1px; border-right-style: solid; border-right-color: rgb(221, 221, 221); list-style: none; text-align: right; background-color: rgb(238, 238, 238);"><li style="box-sizing: border-box; padding: 0px 5px;">1</li></ul>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值