Class: Pod::Installer::Xcode::PodsProjectGenerator::TargetInstaller
- Inherits:
-
Object
- Object
- Pod::Installer::Xcode::PodsProjectGenerator::TargetInstaller
- 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
Instance Attribute Summary collapse
-
#project ⇒ Pod::Project
readonly
The project to install the target into.
-
#sandbox ⇒ Sandbox
readonly
Sandbox The sandbox where the support files should be generated.
-
#target ⇒ Target
readonly
Target The library whose target needs to be generated.
Instance Method Summary collapse
-
#initialize(sandbox, project, target) ⇒ TargetInstaller
constructor
Initialize a new instance.
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
#project ⇒ Pod::Project (readonly)
Returns The project to install the target into.
22 23 24 |
# File 'lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb', line 22 def project @project end |
#sandbox ⇒ Sandbox (readonly)
Returns sandbox The sandbox where the support files should be generated.
17 18 19 |
# File 'lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb', line 17 def sandbox @sandbox end |
#target ⇒ Target (readonly)
Returns target The library whose target needs to be generated.
27 28 29 |
# File 'lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb', line 27 def target @target end |