Class: Pod::DyInstaller::Xcode::PodsProjectGenerator::TargetInstaller

Inherits:
Object
  • Object
show all
Defined in:
lib/pod/installer/xcode/pods_project_generator/target_installer.rb

Overview

Controller class responsible of creating and configuring the static library target in Pods project. It also creates the support file needed by the target.

Direct Known Subclasses

AggregateTargetInstaller, PodTargetInstaller

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sandbox, target) ⇒ TargetInstaller

Initialize a new instance

Parameters:

  • sandbox (Sandbox)

    @see sandbox

  • target (Target)

    @see target



25
26
27
28
# File 'lib/pod/installer/xcode/pods_project_generator/target_installer.rb', line 25

def initialize(sandbox, target)
  @sandbox = sandbox
  @target = target
end

Instance Attribute Details

#sandboxSandbox (readonly)

Returns sandbox The sandbox where the support files should be generated.

Returns:

  • (Sandbox)

    sandbox The sandbox where the support files should be generated.



13
14
15
# File 'lib/pod/installer/xcode/pods_project_generator/target_installer.rb', line 13

def sandbox
  @sandbox
end

#targetTarget (readonly)

Returns target The library whose target needs to be generated.

Returns:

  • (Target)

    target The library whose target needs to be generated.



18
19
20
# File 'lib/pod/installer/xcode/pods_project_generator/target_installer.rb', line 18

def target
  @target
end