lib/cocoapods/installer.rb
# Runs the post install hooks of the installed specs and of the Podfile.
#
# @note   Post install hooks run _before_ saving of project, so that they
#         can alter it before it is written to the disk.
#
# @return [void]
#
Runs the post install hooks of the installed specs and of the Podfile.
Runs the post install hooks of the installed specs and of the Podfile .
def run_post_install_hooks
      UI.message "- Running post install hooks" do
        installed_specs.each do |spec|
          executed = false
          libraries_using_spec(spec).each do |lib|
            executed ||= spec.post_install!(library_rep(lib))
          end
          UI.message "- #{spec.name}" if executed
        end
        executed = @podfile.post_install!(installer_rep)
        UI.message "- Podfile" if executed
      end
    end
def run_post_install_hooks UI . message "- Running post install hooks" do installed_specs . each do | spec | executed = false libraries_using_spec ( spec ) . each do | lib | executed ||= spec . post_install! ( library_rep ( lib ) ) end UI . message "- #{spec.name}" if executed end executed = @podfile . post_install! ( installer_rep ) UI . message "- Podfile" if executed end end
Runs the post install hooks of the installed specs and of the Podfile.
Runs the post install hooks of the installed specs and of the Podfile .
None
void
note
Post install hooks run _before_ saving of project, so that they can alter it before it is written to the disk.
Post install hooks run _before_ saving of project so that they can alter it before it is written to the disk .