Class: Pod::Installer::FileReferencesInstaller

Inherits:
Object
  • Object
show all
Defined in:
lib/cocoapods/installer/file_references_installer.rb

Overview

Controller class responsible of installing the file references of the specifications in the Pods project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sandbox, pod_targets, pods_project) ⇒ FileReferencesInstaller

Initialize a new instance



25
26
27
28
29
# File 'lib/cocoapods/installer/file_references_installer.rb', line 25

def initialize(sandbox, pod_targets, pods_project)
  @sandbox = sandbox
  @pod_targets = pod_targets
  @pods_project = pods_project
end

Instance Attribute Details

#pod_targetsArray<PodTarget> (readonly)



13
14
15
# File 'lib/cocoapods/installer/file_references_installer.rb', line 13

def pod_targets
  @pod_targets
end

#pods_projectProject (readonly)



17
18
19
# File 'lib/cocoapods/installer/file_references_installer.rb', line 17

def pods_project
  @pods_project
end

#sandboxSandbox (readonly)



9
10
11
# File 'lib/cocoapods/installer/file_references_installer.rb', line 9

def sandbox
  @sandbox
end

Instance Method Details

#install!void

This method returns an undefined value.

Installs the file references.



35
36
37
38
39
40
41
42
# File 'lib/cocoapods/installer/file_references_installer.rb', line 35

def install!
  refresh_file_accessors
  add_source_files_references
  add_frameworks_bundles
  add_vendored_libraries
  add_resources
  link_headers
end