Method: Pod::Podfile::DSL#pre_install

Defined in:
lib/cocoapods-core/podfile/dsl.rb

#pre_install(&block) ⇒ Object

This hook allows you to make any changes to the Pods after they have been downloaded but before they are installed.

It receives the [Pod::Installer] as its only argument.

Examples:

Defining a pre-install hook in a Podfile.


pre_install do |installer|
  # Do something fancy!
end


937
938
939
# File 'lib/cocoapods-core/podfile/dsl.rb', line 937

def pre_install(&block)
  @pre_install_callback = block
end