I was trying to update the existing pods with the pod install command, but it takes forever to run.
The verbose mode shows it was stuck at the following
Just go through the below step-by-step:
Download https://github.com/CocoaPods/Specs/archive/master.zip
RUN the Below commands in terminal:
pod setup --verbose
Open new tab in the terminal and RUN
mv ~/.cocoapods/repos/master/.git ~/tempSpecsGitFolder
open master.zip (unzipping it)
mv Specs-master ~/.cocoapods/repos/master
mv ~/tempSpecsGitFolder ~/.cocoapods/repos/master/.git
cd [project folder]
pod install --no-repo-update