lib/cocoapods/installer.rb
def install_source_of_pod(pod_name)
      specs_by_platform = {}
      libraries.each do |library|
        specs = library.specs.select { |spec| spec.root.name == pod_name }

        unless specs.empty?
          specs_by_platform[library.platform] ||= []
          specs_by_platform[library.platform].concat(specs)
        end
      end

      @pod_installers ||= []
      pod_installer = PodSourceInstaller.new(sandbox, specs_by_platform)
      pod_installer.clean = config.clean?
      pod_installer.aggressive_cache = config.aggressive_cache?
      pod_installer.generate_docs = config.generate_docs?
      pod_installer.install_docs = config.install_docs?
      pod_installer.install!
      @pod_installers << pod_installer
      @installed_specs.concat(specs_by_platform.values.flatten)
    end
# Install the Pods. If the resolver indicated that a Pod should be
# installed and it exits, it is removed an then reinstalled. In any case if
# the Pod doesn't exits it is installed.
#
# @return [void]
#
Install the Pods. If the resolver indicated that a Pod should be
installed and it exits, it is removed an then reinstalled. In any case if
the Pod doesn't exits it is installed.
Install the Pods . If the resolver indicated that a Pod should be installed and it exits it is removed an then reinstalled . In any case if the Pod doesn ' t exits it is installed .
def install_source_of_pod(pod_name)
      specs_by_platform = {}
      libraries.each do |library|
        specs = library.specs.select { |spec| spec.root.name == pod_name }
        unless specs.empty?
          specs_by_platform[library.platform] ||= []
          specs_by_platform[library.platform].concat(specs)
        end
      end
      @pod_installers ||= []
      pod_installer = PodSourceInstaller.new(sandbox, specs_by_platform)
      pod_installer.clean = config.clean?
      pod_installer.aggressive_cache = config.aggressive_cache?
      pod_installer.generate_docs = config.generate_docs?
      pod_installer.install_docs = config.install_docs?
      pod_installer.install!
      @pod_installers << pod_installer
      @installed_specs.concat(specs_by_platform.values.flatten)
    end
def install_source_of_pod ( pod_name ) specs_by_platform = { } libraries . each do | library | specs = library . specs . select { | spec | spec . root . name == pod_name } unless specs . empty? specs_by_platform [ library . platform ] ||= [ ] specs_by_platform [ library . platform ] . concat ( specs ) end end @pod_installers ||= [ ] pod_installer = PodSourceInstaller . new ( sandbox , specs_by_platform ) pod_installer . clean = config . clean? pod_installer . aggressive_cache = config . aggressive_cache? pod_installer . generate_docs = config . generate_docs? pod_installer . install_docs = config . install_docs? pod_installer . install! @pod_installers << pod_installer @installed_specs . concat ( specs_by_platform . values . flatten ) end
Install the Pods.
Install the Pods .
None
void
pod_name