Class: Pod::Installer::AggregateTargetInstaller

Inherits:
TargetInstaller show all
Defined in:
lib/cocoapods/installer/target_installer/aggregate_target_installer.rb

Overview

Creates the targets which aggregate the Pods libraries in the Pods project and the relative support files.

Instance Attribute Summary

Attributes inherited from TargetInstaller

#sandbox, #target

Instance Method Summary collapse

Methods inherited from TargetInstaller

#initialize

Constructor Details

This class inherits a constructor from Pod::Installer::TargetInstaller

Instance Method Details

#install!void

This method returns an undefined value.

Creates the target in the Pods project and the relative support files.



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/cocoapods/installer/target_installer/aggregate_target_installer.rb', line 11

def install!
  UI.message "- Installing target `#{target.name}` #{target.platform}" do
    add_target
    create_support_files_dir
    create_support_files_group
    create_xcconfig_file
    if target.requires_frameworks?
      create_info_plist_file
      create_module_map
      create_umbrella_header
      create_embed_frameworks_script
    end
    create_bridge_support_file
    create_copy_resources_script
    create_acknowledgements
    create_dummy_source
  end
end