How to Install and Update CocoaPods
When you are installing CocoaPods using CocoaPods’s official site, You are using following code to install. Right?
$ sudo gem install cocoapods
But, sometimes it won’t work. You are followed that official instructions only. Then Why No Response from Cocoapods? Leave all thing, just Install Cocoapods using following code then say to us, what happening?
$ sudo gem install cocoapods -V
If You wanna update your Cocoapods to latest version, first uninstall your Cocoapods using following code,
$ sudo gem uninstall cocoapods
Then you can Install cocoapods as what we given.
You can update your Cocoapods using one line command,
$ sudo gem update cocoapods
If you wanna update to previous release version ( not previous version ), use following command,
$ sudo gem update cocoapods --pre
1) If you want to update your package manager, use this code
sudo gem update --system
Latest posts by KarSho (see all)
- Step to uninstall Android Studio fully on Mac - June 14, 2018
- Step to install new Python Package from inside of IPython - June 14, 2018