lib/cocoapods/validator.rb
def install_pod
      podfile = podfile_from_spec(consumer.platform_name, spec.deployment_target(consumer.platform_name))
      sandbox = Sandbox.new(config.sandbox_root)
      installer = Installer.new(sandbox, podfile)
      installer.install!

      file_accessors = installer.libraries.first.file_accessors
      @file_accessor = file_accessors.find { |accessor| accessor.spec == spec }
      config.silent
    end
# It creates a podfile in memory and builds a library containing the pod
# for all available platforms with xcodebuild.
#
It creates a podfile in memory and builds a library containing the pod
for all available platforms with xcodebuild.
It creates a podfile in memory and builds a library containing the pod for all available platforms with xcodebuild .
def install_pod
      podfile = podfile_from_spec(consumer.platform_name, spec.deployment_target(consumer.platform_name))
      sandbox = Sandbox.new(config.sandbox_root)
      installer = Installer.new(sandbox, podfile)
      installer.install!
      file_accessors = installer.libraries.first.file_accessors
      @file_accessor = file_accessors.find { |accessor| accessor.spec == spec }
      config.silent
    end
def install_pod podfile = podfile_from_spec ( consumer . platform_name , spec . deployment_target ( consumer . platform_name ) ) sandbox = Sandbox . new ( config . sandbox_root ) installer = Installer . new ( sandbox , podfile ) installer . install! file_accessors = installer . libraries . first . file_accessors @file_accessor = file_accessors . find { | accessor | accessor . spec == spec } config . silent end
It creates a podfile in memory and builds a library containing the pod
for all available platforms with xcodebuild.
It creates a podfile in memory and builds a library containing the pod for all available platforms with xcodebuild .