美文网首页
Xcode 插件失效的临时解决方案

Xcode 插件失效的临时解决方案

作者: 雪中洛阳 | 来源:发表于2016-04-28 16:08 被阅读26次

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 的命令:

find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID`

相关文章

网友评论

      本文标题:Xcode 插件失效的临时解决方案

      本文链接:https://www.haomeiwen.com/subject/sxdhrttx.html