<bdo id='bJmxm'></bdo><ul id='bJmxm'></ul>
    <legend id='bJmxm'><style id='bJmxm'><dir id='bJmxm'><q id='bJmxm'></q></dir></style></legend>
    1. <tfoot id='bJmxm'></tfoot>

      <small id='bJmxm'></small><noframes id='bJmxm'>

    2. <i id='bJmxm'><tr id='bJmxm'><dt id='bJmxm'><q id='bJmxm'><span id='bJmxm'><b id='bJmxm'><form id='bJmxm'><ins id='bJmxm'></ins><ul id='bJmxm'></ul><sub id='bJmxm'></sub></form><legend id='bJmxm'></legend><bdo id='bJmxm'><pre id='bJmxm'><center id='bJmxm'></center></pre></bdo></b><th id='bJmxm'></th></span></q></dt></tr></i><div id='bJmxm'><tfoot id='bJmxm'></tfoot><dl id='bJmxm'><fieldset id='bJmxm'></fieldset></dl></div>

      无法开始工作 CocoaPods 和 Yosemite

      Can#39;t get to work CocoaPods and Yosemite(无法开始工作 CocoaPods 和 Yosemite)
        <tbody id='y0cKk'></tbody>
    3. <tfoot id='y0cKk'></tfoot>

          <small id='y0cKk'></small><noframes id='y0cKk'>

          • <legend id='y0cKk'><style id='y0cKk'><dir id='y0cKk'><q id='y0cKk'></q></dir></style></legend>
          • <i id='y0cKk'><tr id='y0cKk'><dt id='y0cKk'><q id='y0cKk'><span id='y0cKk'><b id='y0cKk'><form id='y0cKk'><ins id='y0cKk'></ins><ul id='y0cKk'></ul><sub id='y0cKk'></sub></form><legend id='y0cKk'></legend><bdo id='y0cKk'><pre id='y0cKk'><center id='y0cKk'></center></pre></bdo></b><th id='y0cKk'></th></span></q></dt></tr></i><div id='y0cKk'><tfoot id='y0cKk'></tfoot><dl id='y0cKk'><fieldset id='y0cKk'></fieldset></dl></div>
              <bdo id='y0cKk'></bdo><ul id='y0cKk'></ul>
              1. 本文介绍了无法开始工作 CocoaPods 和 Yosemite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我已经尝试过这些步骤:

                I already tried this steps:

                1. 打开 Xcode 6 打开首选项
                2. 点击位置标签
                3. 将命令行工具版本更改为 Xcode 6.0
                4. 卸载 cocoapods
                5. 一个.$sudo gem 卸载 cocoapods 安装 xcodeproj
                6. 一个.$ sudo gem 安装
                7. xcodeproj 安装 cocoapods
                8. 一个.$ sudo gem 安装 cocoapods
                9. 运行 pod --version 以验证它是否有效

                但是当我执行 pod install 或 pod --version 时,我仍然会得到这个:

                But I'm still gettings this when I do pod install or pod --version:

                /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext (LoadError)
                    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:6:in `rescue in <top (required)>'
                    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:3:in `<top (required)>'
                    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                    from /Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj.rb:30:in `<top (required)>'
                    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods.rb:2:in `<top (required)>'
                    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                    from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
                    from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/bin/pod:32:in `<top (required)>'
                    from /usr/bin/pod:23:in `load'
                    from /usr/bin/pod:23:in `<main>'
                

                推荐答案

                如果其他人遇到同样的问题,我这样做是为了解决我的问题:

                In case someone else got the same issue, I did this to fix my issue:

                1. 更新宝石

                1. Update Gems

                sudo gem update --system

                已卸载 xcodeproj

                Uninstalled xcodeproj

                sudo gem 卸载 xcodeproj

                确保选择所有版本

                卸载的 Cocoapods

                Uninstalled Cocoapods

                sudo gem 卸载 cocoapods

                安装 xcodeproj

                Install xcodeproj

                sudo gem install xcodeproj

                安装 cocoapods

                Install cocoapods

                sudo gem install cocoapods

                运行

                pod --version 进行测试.

                这篇关于无法开始工作 CocoaPods 和 Yosemite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Springs in Auto Layout: Distribute views evenly, with constraints, in Xcode 5(自动布局中的弹簧:在 Xcode 5 中使用约束均匀分布视图)
                quot;Auto Layout still required after executing -layoutSubviewsquot; with UITableViewCell subclass(“执行 -layoutSubviews 后仍需要自动布局带有 UITableViewCell 子类)
                What is quot;Constrain to marginquot; in Storyboard in Xcode 6(什么是“限制边距?在 Xcode 6 的情节提要中)
                unable to use cocoapods after updating(更新后无法使用 cocoapods)
                Convert localizable.strings to spreadsheet?(将 localizable.strings 转换为电子表格?)
                How do I change the Development language in Xcode before internationalizing my app?(在国际化我的应用程序之前,如何更改 Xcode 中的开发语言?)

                  • <i id='ZffeK'><tr id='ZffeK'><dt id='ZffeK'><q id='ZffeK'><span id='ZffeK'><b id='ZffeK'><form id='ZffeK'><ins id='ZffeK'></ins><ul id='ZffeK'></ul><sub id='ZffeK'></sub></form><legend id='ZffeK'></legend><bdo id='ZffeK'><pre id='ZffeK'><center id='ZffeK'></center></pre></bdo></b><th id='ZffeK'></th></span></q></dt></tr></i><div id='ZffeK'><tfoot id='ZffeK'></tfoot><dl id='ZffeK'><fieldset id='ZffeK'></fieldset></dl></div>
                      <bdo id='ZffeK'></bdo><ul id='ZffeK'></ul>
                            <tbody id='ZffeK'></tbody>
                          <tfoot id='ZffeK'></tfoot>

                        • <legend id='ZffeK'><style id='ZffeK'><dir id='ZffeK'><q id='ZffeK'></q></dir></style></legend>

                          <small id='ZffeK'></small><noframes id='ZffeK'>