您的位置:首页 > 移动开发 > IOS开发

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

2015-11-10 11:42 381 查看
         最近我把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.     



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

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

        ## 参考链接

               [1]在
Xcode 7 中安装 Alcatraz
  [2]http://stackoverflow.com/questions/30361228/why-are-my-xcode-plugins-such-as-clang-format-installed-with-alcatraz-no-longe/30744531#30744531

               [3]https://github.com/supermarin/Alcatraz/issues/365

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

 
             [5]http://www.ithao123.cn/content-10477091.html

    
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息