Install Cocoapods on M1 and M2 Macbook easily without Errors

Step by step guide to Install Cocoapods without errors on Silicon Chip based Apple Macbook M1 and M2 easily.

Sreejith NP
3 min readJun 29, 2023

Installing CocoaPods on apple Silicon chip M1 and M2 based Macbooks has become a headache for many as it throws a several errors during the installation process .

Also there are compatibility issues for Cocoapods and silicon chip based M1 and M2 based Macbooks, which prevents it from directly installing Cocoapods on these machines.

Here is a step by step guide to install Cocoapods on a M1 and M2 chip based Macbooks without errors.

Note: If the steps suggested below throws any error in between ,connect to mobile phone hotspot or ethernetWi-Fi sometimes may not work ( some port issue)

Step1: Go to HomeBrew website and copy the command to install Homebrew using Terminal as we need HomeBrew to install Cocoapods on Macbook M1 and M2.

Step2: Paste the copied bash command in a macOS Terminal and hit enter.

Currently the code is as given below .. see…

--

--