Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pod setup taking a long time #6223

Closed
asamuga opened this issue Nov 22, 2016 · 13 comments
Closed

pod setup taking a long time #6223

asamuga opened this issue Nov 22, 2016 · 13 comments

Comments

@asamuga
Copy link

asamuga commented Nov 22, 2016

I installed cocoapods

sudo gem install cocoapods
then I run

cordova requirements

and get this output

The CocoaPods repo has not been synced yet, this will take a long time (approximately 500MB as of Sept 2016). Please run pod setup first to sync the repo.

I then execute

pod setup

but it is just stuck there FOREVER

What should I do???

@benasher44
Copy link
Member

pod setup clones the master repo into ~/.cocoapods/repos/master. You could do this manually:

mkdir -p ~/.cocoapods/repos
git clone https://github.com/CocoaPods/Specs ~/.cocoapods/repos/master

If it complains that ~/.cocoapods/repos/master already exists, than you can just delete that directory and repeat the steps. Once this is done, go ahead and run pod setup again to make sure everything is working okay.

@benasher44 benasher44 added the s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member label Nov 22, 2016
@asamuga
Copy link
Author

asamuga commented Nov 22, 2016

I'm trying to clone this repo, but it gets stuck at 9%

EDIT 1: One thing that I've noticed is that when DL speed goes above 1MB/s the DL gets stuck.

EDIT 2: this time I got to 65% and DL speed went over 2MB/s and it got stuck.

@orta orta changed the title POD SETUP stuck forever!!?? pod setup taking a long time Nov 22, 2016
@benasher44 benasher44 removed the s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member label Nov 22, 2016
@benasher44
Copy link
Member

Hmm. GitHub is having an issue right now, but it's being reported as affecting Github pages. I'm not sure there's more I can suggest aside from maybe waiting until status.github.com is green and then trying again.

@asamuga
Copy link
Author

asamuga commented Nov 22, 2016

How can I do this by downloading .zip file? What are the steps after I've downloaded .zip file??

@benasher44
Copy link
Member

Which .zip file are you referring to? Sorry, I'm not familiar.

@asamuga
Copy link
Author

asamuga commented Nov 22, 2016

@benasher44
Copy link
Member

Ah. You could unzip it into the ~/.cocoapods/repos/master location, but I'd be surprised if there's a .git folder. You'll likely still have to run git init and then manually setup the remote, etc.

@asamuga
Copy link
Author

asamuga commented Nov 22, 2016

But how would I do that?

@dnkoutso
Copy link
Contributor

VIsit the link above and click here:

screen_shot_2016-11-22_at_8_42_19_am

@benasher44
Copy link
Member

You can unzip it with the unzip command, then you can use mv to move it into place. Once that done, you can cd into that directory, run git init, and then do git remote add origin https://github.com/CocoaPods/Specs.git. That said, you'll still have to git pull at some point, which will get you back to where you started. I recommend just trying again once Github status is green.

@orta
Copy link
Member

orta commented Nov 28, 2016

Closing as there's not much more we can do here.

@braysonjohn148
Copy link

You can unzip it with the unzip command, then you can use mv to move it into place. Once that done, you can cd into that directory, run git init, and then do git remote add origin https://github.com/CocoaPods/Specs.git. That said, you'll still have to git pull at some point, which will get you back to where you started. I recommend just trying again once Github status is green.

Any one who can please walk me through these steps slowly.. am confusing the location to extract the folder. Please

@braysonjohn148
Copy link

I have downloaded the file on my pc and extracted it, but where should i put it and what should i do..? somebody please help.. trying this for months now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants