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