cocoapods - 'pod install' takes forever

Hai Feng Kao picture Hai Feng Kao · May 20, 2014 · Viewed 131.3k times · Source

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.

Answer

lmnbeyond picture lmnbeyond · Jul 9, 2015

I ran into the same problem, and I solved it by running the following commands which is given here

pod repo remove master
pod setup
pod install