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 line (forever)
Updating spec repo
master$ /usr/bin/git pull --no-rebase --no-commit
There is no network activity after it gets stuck.
Possible solutions:
Updating CocoaPods
Open terminal and type:
Reinstall Pods
Step 1
Remove all the pods from your project (tricky part):
Manually
Automatically using CocoaPods De-Integrate
Install
Run
Step 2
Here we are going through at installing the Pods again
Change your location your directory
Edit podfile by adding lines you need to it
or
FINALLY install the pod again
Hope this helps