I'm trying to install my pods with pod install
, it prints
Setting up CocoaPods master repo
and it takes too long time and nothing installing. Is that a bug or that's my mistake? Can I fix that problem?
Yes these problems often occur in first time installation.
So these are what I did to solve it:
1. pod setup
It will do "setting up master" again, DONT' WAIT, continue these steps below
2. Ctrl +C
3. pod repo remove master
4. cd ~/.cocoapods/repos
5. git clone --depth 1 https://github.com/CocoaPods/Specs.git master
It takes around 5 minutes for me (I think it depends on internet connection), then I can do "pod install".