Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cocoapods - 'pod install' takes forever

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.

like image 593
Hai Feng Kao Avatar asked Oct 10 '22 21:10

Hai Feng Kao


People also ask

How do I know if CocoaPods is installed on my Mac?

To find if Cocoapods is installed or not run cmd (pod --version). if theresult is (Not Found) Pods is not installed.


1 Answers

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
like image 560
lmnbeyond Avatar answered Oct 13 '22 09:10

lmnbeyond