Installation of cocoapods
Prerequisites
- Xcode developement tools
- Ruby >=2.7.0 (Please make sure you have >=3.2.0 as most projects will fail)
- Homebrew
sudo gem install cocoapods
Alternative
Do no do this for older projects. It will install cocoapod ~1.5 whereas gem install cocoapods will install 1.1 More info
brew install --cask cocoapods
Errors
You need to install development tools first
xcode-select --install
Ruby Installation
!