"IOS" Cocoapods installation process

Source: Internet
Author: User

Today, I tried to install a bit of cocoapods, encountered a lot of problems, here to record, may be useful later.

According to cocoapods detailed----Use of this blog, a little bit of a small problem, but the latter resolved

The steps are as follows:

1, in the implementation of the installation instructions, I have made a mistake (Ben collapsed, just started on this egg pain ~ ~)

$ sudo gem install Cocoapods

Error message

ERROR:  While executing gem ... (Gem::D ependencyerror)    Unable to resolve dependencies:cocoapods requires cocoapods0.35. 0 0.7. 0 0.20. 2 0.8. 0)

So I found a solution on the Internet:

First Enter

$ gem Update--system

"Note" If there is a permission problem filepermissionerror add sudo

2. When the setup step is executed, the problem also arises ... My RP is really bad.

$ pod Setup

Error message

' Https://github.com/CocoaPods/Specs.git ' master--depth=1'master'... error:rpc failed; =0fatal:the remote end hung up unexpectedly

Again online human flesh answer, really was I found one, said is osx10.10 problem:

OSX upgrade to 10.10, with pod install error Final Solution

After the execution of the eight steps, everything is normal, can be used!! Happy ~ ~

"IOS" Cocoapods installation process

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.