cocoapods permission issue in High Sierra? cocoapods permission issue in High Sierra? ruby ruby

cocoapods permission issue in High Sierra?


I had the same problem after upgrading to macOS High Sierra and got it fixed with following commands (note, you need to use sudo to run as super user):

sudo gem update --systemsudo gem install cocoapods -n/usr/local/bin

Good luck!


After upgrading to macOS High Sierra, get it fixed with following commands:

sudo gem install cocoapods


Finally I found a solution after a lot of search.

1: Update your terminal to the latest version.

2: Download and Update RubyGems to the latest version from: https://rubygems.org/pages/download

3: Thin I update my pod file. through pod update.