Workaround for using pod problems after OS x upgrade to 10.10

Source: Internet
Author: User
Tags install cocoapods

http://blog.csdn.net/dqjyong/article/details/37958067workaround for using pod problems after OS x upgrade to 10.10Category: IOS2014-07-19 11:28 3704 People read Comments (1) favorite reports

[Ruby]View Plaincopy
    1. The latest in the power of Mac 10.10 Curiosity, so the system upgraded to 10.10, the results found that using the pod has the following problems:
[Ruby]View Plaincopy
  1. /system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb : In' require ': Cannot load such file--Xcodeproj/prebuilt/universal.x86_64-darwin14-2.0.0/xcodeproj_ext ( Loaderror)
  2. From/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_ Require.rb:55: In ' Require '
  3. From/library/ruby/gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:6: In 'rescue in <top ( Required) > '
  4. From/library/ruby/gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj/ext.rb:3: In ' <top (required) > '
  5. From/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_ Require.rb:55: In ' Require '
  6. From/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_ Require.rb:55: In ' Require '
  7. From/library/ruby/gems/2.0.0/gems/xcodeproj-0.17.0/lib/xcodeproj.rb:30: In ' <top (required) > '
  8. From/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_ Require.rb:55: In ' Require '
  9. From/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_ Require.rb:55: In ' Require '
  10. From/library/ruby/gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods.rb:2: In ' <top (required) > '
  11. From/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_ Require.rb:55: In ' Require '
  12. From/system/library/frameworks/ruby.framework/versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_ Require.rb:55: In ' Require '
  13. From/library/ruby/gems/2.0.0/gems/cocoapods-0.33.1/bin/pod:32: In ' <top (required) > '
  14. From/usr/bin/pod:23: In ' Load '
  15. From/usr/bin/pod:23: In ' <main> '

After a random search, the specific steps to resolve are as follows:

1. Open Xcode 6
2. Enter Preferences
3. Click the Locations option
4. Change the Command line Tools version to Xcode 6.0
5. Uninstall the Cocoapods and enter it in the terminal

[Ruby]View Plaincopy
    1. $ sudo gem uninstall cocoapods


6. Install the xcodeproj and enter it in the terminal [Ruby]View Plaincopy
    1. $ sudo gem install xcodeproj


7. Install the Cocoapods and enter it in the terminal [Ruby]View Plaincopy
    1. $ sudo gem install Cocoapods


8. Test pod for successful installation, enter in terminal

[Ruby]View Plaincopy
    1. $ pod--version


Workaround for using pod problems after OS x upgrade to 10.10

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.