I try to update my podfile using the command pod update but it takes forever.
I did also all the steps according to this question cocoapods - 'pod install' takes forever but nothing changed.
Using the command pod update --verbose i see that it stops here: Updating spec repo master
$ /usr/bin/git pull --ff-only
Any suggestion?
CocoaPods has to download a repository of all podspecs to do its work. It seems like it's that pull operation that's taking a long time. I'm not aware of any way to accelerate that process.
However subsequent pod operations will be much faster until new commits are available in the master spec repo. So if you have several update or install operations, doing them together can save you some time.
There is a rate limiting on git servers and that seems to slow down the process.
Like Fabian said there is no valid solution at the moment but splitting the update to individual pods. There is an explanation at the CocoaPods blog Master spec-repo rate limiting post‑mortem, it seems we need to wait for 1.0.0.beta.7 before they fix the issue.
Meanwhile, this Git Issue on the topic recommends to run convert your Podspecs to be a full copy instead of a shallow clone, by running:
cd ~/.cocoapods/repos/master && git fetch --depth=2147483647
you can run
pod install --verbose
to see what's going on behind the scenes.. at least you'll know where it's stuck at (it could be a git clone operation that's taking too long because of your slow network etc)
check this for more clarified answer
https://stackoverflow.com/a/25658514/1894306
Related
I have a slow internet connection, so I cannot use 'pod install' in my Terminal. If I did, that would attempt to download the master repo via the internet and it will time out every time (the file is large).
I downloaded the master repo from GitHub onto my iPhone, since it has a good internet connection, and used AirDrop to move the master repo file onto my computer. Is there a way to install the master repo from this file? How would I do it?
Skip the master repo download and use the new CocoaPods CDN.
Add the following to the Podfile:
source 'https://cdn.cocoapods.org/'
Details in the CocoaPods 1.7.2 blog.
On a Windows (version 10) machine, with the latest git client at the time of writing (2.18.0.windows.1), cloning repositories using HTTPS fails with error:
git: 'remote-https' is not a git command.
After a bit of research it turns out that git comes with several remote-<command> utilities, with remote-https being one of them. The error message therefore seems to tell us that `remote-https is not installed on the machine.
After a bit more research, it seems that similar problems for other developers were solved by installing curl. The machine we're dealing with does have curl (7.46.0) installed as well.
We tried reinstalling the git client a couple of times entirely from git-scm.com as well as gitforwindows.org, both resulting in the same error.
Any help or pointer to get this fixed is highly appreciated.
I just fixed the error in my build env. hope my solution is useful to you.
my env: Windows10+Jenkins+git
git version 2.18.
I just reinstall the git into windows, with a different selection during the installation:"MINTTY". after reinstall, I found the remote-https under my git install directory.
also, you need to set the jenkins env. make sure that the new git path which was included in the Jenkins env configure. if you "echo %Path%", and you can find the new git path which included the remote-https, then you are fine.
I'm using gemfury and git with Ruby for the first time and am having trouble doing a push to my remote gemfury repository:
git push fury master
I get an error message saying that I need to do a git pull to update my code with the latest changes.
After doing a git pull I get several conflict errors but it doesn't make sense as it's a fresh clone of the master repo. Others from my team don't seem to get the same errors when building the same package.
I've tried deleting the local repository and doing a git clone again. I've also tried doing a git reset but without any progress.
Any help or pointers would be helpful as I haven't been able to solve this issue yet and it's starting to fustrate me. Thanks!
Any help please I have been waiting so long for this and it didn't show me any improvement.Still stucking at Updating local specs repositories
Actually i was trying to update pod files of library that I use on my xcode.I close it yesterday because it takes too long.And today i run again,doing control + c and run pod install again.
It didn't work,stucking at Updating local specs repositories
When I open my Xcode,many errors occur because of pod issue..
Please I need help!
There's an known error with http://blog.cocoapods.org/Repairing-Our-Broken-Specs-Repository/
You can try to fix it by doing:
pod repo remove master
pod setup
pod install
For me it already happened a few times, always after cocoapods failing to contact github on a previous run if I'm not mistaken.
I solved by simply deleting the contents of ~/.cocoapods/repos. and running the pods again
It looks like specs repos will be updated by default when you run pod update. Including --no-repo-update in the pod update command solved the issue for me
pod update POD_NAME --no-repo-update
Reference:
https://github.com/CocoaPods/CocoaPods/issues/4218#issuecomment-141678644
Also on these days some users sugest update Ruby via homebrew
Check this issue:
https://github.com/CocoaPods/CocoaPods/issues/7447
I want to create a wiki with gollum and push it to my own git repo, is that possible?
I created a new git repo, install gollum and started it. I got the "edit/Home" page. I added some content, saved...all looked good. Even the "revision history" showed that revisions occurred.
Then I stopped gollum and found there was nothing new in my git repo, I even checked if stuff hadn't been pushed...nothing. I'm not sure how/where it's storing the content that I add when I run it.
Any ideas?
Thanks
Gollum will not sync with a git remote. It will never perform git pull or git push. You must have gollum running on the remote server, or you must manually run git push on machines where you make edits, and git pull on machines who also want to see the wiki. This could be part of a cron job if you're running locally.
It is much easier to have the gollum process running on your web server. See below for more information:
http://www.nomachetejuggling.com/2012/05/15/personal-wiki-using-github-and-gollum-on-os-x/#toc-synchronization-with-github
May be you are checking a wrong repository, the default is for gollum to use or create a git repository at the root of page files. It can be changed with the options --page-file-dir and --base-path (cf gollum --help)