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!
Executing "pod install" now takes less than 2 minutes, while before making this changes it took about 12 minutes.
cocoapods-repo-update is a CocoaPods plugin that checks your dependencies when you run pod install and updates the local specs repositories if needed.
This will take significantly less time as this requires fetching and downloading just the pods you need instead of whole cocoapods repository. In My case it reduced the pod update time from 15-20 mins on average to 3-4 mins at most. Show activity on this post.
update: one common thing that cocoa pods do before it even starts downloading the dependencies listed in your podfile, is to download/update its own repo (they call it Setting up Cocoapods Master repo .. look at this:
You may still need to update the pod file and run a pod update after doing this but at least you will have a working build that initializes correctly and runs properly when you send it to the app store.
the bad news is that if you follow the above procedure to find out how big the cocoa pod repo is.. you'll get this: "size": 614373,.. which is a lot. so to get a more accurate way of knowing how long it takes to just install your own repo.. you can set up the cocoa pods master repo separately by using pod setup:
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
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