Downloading Cocoapods from S3 in projects with manual configuration

A few weeks ago we enabled downloads of Cocoapods from S3 instead of Git for the users of our iOS inference.

You can now also download the Cocoapods specs from S3 instead of Git in your custom config by adding the following to your circle.yml:

dependencies:
  pre:
    # hide curl progress bar but show errors, if any
    - curl -sS https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash

By default, Cocoapods will update the specs from Git when you run pod install, and now that the Cocoapods specs are ~0.5GB in size at this point, downloading them from Git can result in longer build times. Fetching the specs from S3 can speed the Cocoapods installation step in your build significantly.

1 Like