If you’ve tried to run pod install in the last day or so, you probably found yourself stuck.

Updating spec repo `master`

Yeah. Yikes.

As discussed by GitHub’s @mhagger, the CocoaPods/Specs repository (where all the podspecs are stored) experiences extremely high volume, due in part to shallow initial checkouts of the repository. He leaves a helpful tip to convert the specs repo to a deep checkout.

I tried it, it makes things fast.

cd ~/.cocoapods/repos/master/Specs
git fetch --depth=2147483647

This will take a few minutes to run, but pod install, pod update, etc are all much faster now.