cocoapods-fast-install
A cocoapods plugin that speed up the pod install for CI.
For the CI environment, we just pod install and build. Large mount of files in project file will slow down the pod install. So we exclude some files from the xcodeproject, the header files, then the pod install speed up.
For a project containing 1700 header files in pods, it can reduce about
13 seconds in Generating Pods project
step.
Umbrella Header and Module are compatible with this plugin.
Installation
$ gem install cocoapods-fast-install
Usage
$ pod install-ci
or
Add the flowing in the Podfile, and do pod install
if ENV["A_FLAG_TO_INDICATE_CI"] # wrap it with a environment variable, so it's only enabled on the CI.
plugin 'cocoapods-fast-install'
end
If you want keep headers for some pods
:keeping_header_for => ['Protobuf', 'AFNetworking']
Licence
MIT