Skip to content

Speed up iOS resolver by 10-15 minutes #502

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

Merged
merged 1 commit into from
Feb 24, 2022
Merged

Conversation

Nezz
Copy link
Contributor

@Nezz Nezz commented Feb 13, 2022

CocoaPods has introduced their CDN in 2019 and made it the default source. EDM's iOS resolver explicitly specifies the old source which has become extremely slow. The old source takes 10-15 minutes to clone on our build agents, making iOS builds needlessly slow. Using the CDN allows us to skip this step and start resolving dependencies right away.

This isn't obvious in local development because it only happens once and gets cached in ~/.cocoapods, but disposable build agents have to run it with every single build. Caching the repo is slow because it's around a gigabyte and contains over one million files.

Resolves #470.

@chkuang-g chkuang-g self-requested a review February 23, 2022 06:40
@chkuang-g chkuang-g merged commit 67cde2d into googlesamples:master Feb 24, 2022
@chkuang-g
Copy link
Collaborator

Thank you for the fix!

@chkuang-g
Copy link
Collaborator

I'm putting together a fix for firebase/quickstart-unity#1178. Once that is done, I'll make another release for EDM4U.

@googlesamples googlesamples locked and limited conversation to collaborators Mar 27, 2022
@Nezz Nezz deleted the patch-1 branch April 12, 2022 12:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FR] Change the default cocoapods source to the CDN
3 participants