美文网首页iOS学习iOS开发技术分享
Xcode 7.1 中安装 Alcatraz 失败最全的解决方案

Xcode 7.1 中安装 Alcatraz 失败最全的解决方案

作者: devchena | 来源:发表于2015-11-20 10:26 被阅读108次

最近我把Xcode更新到7.1 (7B91b),然后插件管理工具Alcatraz就没了,于是按照官方https://github.com/supermarin/Alcatraz 的方法重新安装,发现终端提示安装成功,但是在Xcode顶部菜单栏找不到。

相信很多人也遇到过,于是网上各种搜索,费了很大的劲,终于安装成功了。现在分享给大家:
第一步:先把Xcode关掉,再打开终端,安装一遍Alcatraz

curl -fsSL https://raw.github.com/supermarin/Alcatraz/master/Scripts/install.sh | sh

第二步:再在终端把所有的插件都加上Xcode 7.1的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.plist DVTPlugInCompatibilityUUID

第三步:

defaults delete com.apple.dt.Xcode DVTPlugInManagerNonApplePlugIns-Xcode-7.1

第四步:重启Xcode,你会看到一个提示框 a load bundle or skip... 选择 load bundle。

最后,亲爱的插件们就都回来啦~


如果你的插件还没有安装成功,那么你也不要灰心,可以点击下面的链接,相信一定能帮到你。

参考链接:
在 Xcode 7 中安装 Alcatraz

http://stackoverflow.com/questions/30361228/why-are-my-xcode-plugins-such-as-clang-format-installed-with-alcatraz-no-longe/30744531#30744531

https://github.com/supermarin/Alcatraz/issues/365

https://github.com/supermarin/Alcatraz/issues/362#issuecomment-150457101

http://www.ithao123.cn/content-10477091.html


转自:http://blog.csdn.net/zuoyou1314/article/details/49756797

相关文章

网友评论

    本文标题:Xcode 7.1 中安装 Alcatraz 失败最全的解决方案

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