Class: Pod::Installer::Xcode::PodsProjectGenerator::TargetInstaller

Inherits:
Object
  • Object
show all
Includes:
TargetInstallerHelper
Defined in:
lib/cocoapods/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

Methods included from TargetInstallerHelper

create_info_plist_file_with_sandbox, create_prefix_header, update_changed_file

Constructor Details

#initialize(sandbox, project, target) ⇒ TargetInstaller

Initialize a new instance


35
36
37
38
39
# File 'lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb', line 35

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

Instance Attribute Details

#projectPod::Project (readonly)


22
23
24
# File 'lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb', line 22

def project
  @project
end

#sandboxSandbox (readonly)


17
18
19
# File 'lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb', line 17

def sandbox
  @sandbox
end

#targetTarget (readonly)


27
28
29
# File 'lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb', line 27

def target
  @target
end