Ios – cocoapods – ‘pod install’ takes forever

cocoapodscommandiospod-installrepo

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.

Best Solution

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
Related Question