If you get an error about writing to /usr/bin , try installing to a local path: sudo gem install cocoapods -n /usr/local/bin .
After downloading CocoaPods to your system, follow these steps to use it in a specific Xcode project: download cocoapods terminal
Open Terminal and run the following to ensure the necessary developer tools are active: xcode-select --install Use code with caution. If you get an error about writing to