We have recently enabled a feature that will allow CocoaPods to download the specs over HTTP instead of Git. This will considerably speed up the specs checkout step when running CocoaPods and therefore reduce the total build time for iOS builds.
The feature has been automatically enabled for all customers who use our inferred iOS dependency commands. If you are using iOS inference for the dependencies step, you will notice a new step, Fetch CocoaPods specs, in your build:
At this moment the feature is only available as an inferred step.
We maintain the service that downloads the specs from Git and makes them available over HTTP. The specs on our HTTP service are updated every 30 minutes.
Please add a comment here if you have any questions about this functionality.
One of my projects simply didnāt start to use the new step, even though Iām using iOS inference for the dependencies step, can you help me to include this new step in my builds?
Hi, our plan here is the Seed one, I think Iām not able to reach out via in-app support =( Is it possible for you to message me or maybe help me through the forum?
test:
override:
- echo āthere are no tests yetā
deployment:
staging: # just a label; label names are completely up to you
branch: /^(?!master$).*/
commands:
- tx push -s
- agvtool new-version -all (git rev-list --count HEAD)
- fastlane xxx1
production:
branch: master
commands:
- agvtool new-version -all $(git rev-list --count HEAD)
- fastlane xxx2
exactly now Iām overriding the inference commands in the UI but simply because I needed to install cocoapods, but even in builds where there were nothing there I still had the problem in which this new step doesānt appear even though in another project the step was added.
The faster downloads of CocoaPods specs from S3 are currently only available through the inference commands. Therefore if you override the inference commands in your circle.ymlor in the project settings, the step will not be run.
Could you please try removing the override for the dependency commands in the project settings and see if the download step gets run then? Thanks.
I removed the override for the dependency commands in the project settings but the download step still doesāt not run. Do you have any other suggestions? Thanks!
Me and Cesar work on the same team.
We just pushed a new commit but the build didnāt use the new inferred option.
Iām not sure if itās related, but the āInstall CocoaPodsā step is not being inferred either.
Could you please try rebuilding without cache? Part of the Pods directory might have been cached and that might be preventing the inferred dependency commands from running.
Any idea when this will be available outside of iOS inference? The inference step is picking up other things I donāt want to run so Iām not able to use this, as far as I can tell.