MacBook-Pro:~ skbc$ pod setup --verbose
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin13/rbconfig.rb:212: warning: Insecu
For insecure people like me who needs an assurance that cocoapods, in fact, is doing the work, try this. The slowest bottleneck is when cocoapods try to clone the entire repo (~300 MB) into ~/.cocoapods
while true; do
du -sh ~/.cocoapods/
sleep 3
done
For me in China
I have to use SSH and --depth=1 to boost up!
pod repo remove master
git clone --depth=1 git@github.com:CocoaPods/Specs.git ~/.cocoapods/repos/master
pod setup
--VMWare Workstation--virtualizedMac--NetworkSetting--Problem
After like 100 tries I got it to work! I have tried nearly everything described here but nothing solved the problem. It randomly stopped by cloning into master between 0% and 97%. In Activity Monitor I saw the network traffic has stopped.
Finally I have changed the network setting from NAT to BRIDGE. This was the solution!
This is not Stuck or not doing anything its downloading/cloning repository (total size is around 360MB, I am not sure)
1) Open Activity Monitor
2) Select Network Tab
3) Check bellow Google chrome -> git-remote-https
Just setup the master repo, was excited to see that we have a download progress, see screenshot ;)
CocoaPods release 1.2.0 (Jan 28) fixes this issue, thanks to all contributors and Danielle Tomlinson for this release.
This might be due to the http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/ issue... You will have to remove the repo and re-setup it...
pod repo remove master
pod setup
worked for me
Answered in below question as well, Error on pod install