When I use terminal to 'setup' or 'update' cocoapods, I find it needs a lot of time to fetching.
So I'm wondering whether there is a way to set a proxy to my terminal, so that it return result more fast?
Choice 1
Step 1:
From Google choose a proxy
Step 2:
Set up the proxy to your Mac
Step 3:
In your terminal set proxy with your port:
export http_proxy='http://your_proxy:8000'
Choice 2
pod repo remove master
pod repo add master https://gitcafe.com/lloydsheng/Specs.git
pod repo update
Choice 3 Recommend
pod install --verbose --no-repo-update
In my case, I found that it was stuck at "analyzing dependencies" because of an error on my Podfile.
Try this:
pod install --verbose
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With