class Pod::AggregateTarget


of the single Pods. The client targets will then depend on this one.
Stores the information relative to the target used to cluster the targets

def acknowledgements_basepath

Other tags:
    Note: - The acknowledgements generators add the extension according to

Returns:
  • (Pathname) - The absolute path of acknowledgements file.
def acknowledgements_basepath
  support_files_root + "#{label}-acknowledgements"
end

def copy_resources_script_path

Returns:
  • (Pathname) - The absolute path of the copy resources script.
def copy_resources_script_path
  support_files_root + "#{label}-resources.sh"
end

def copy_resources_script_relative_path

Returns:
  • (String) - The path of the copy resources script relative to the
def copy_resources_script_relative_path
  "${SRCROOT}/#{relative_to_srcroot(copy_resources_script_path)}"
end

def initialize(target_definition, sandbox)

Parameters:
  • sandbox (Sandbox) -- @see sandbox
  • target_definition (TargetDefinition) -- @see target_definition
def initialize(target_definition, sandbox)
  @target_definition = target_definition
  @sandbox = sandbox
  @pod_targets = []
  @file_accessors = []
end

def label

Returns:
  • (String) - the label for the target.
def label
  target_definition.label.to_s
end

def relative_pods_root

Returns:
  • (String) - The xcconfig path of the root from the `$(SRCROOT)`
def relative_pods_root
  "${SRCROOT}/#{support_files_root.relative_path_from(client_root)}"
end

def relative_to_srcroot(path)

Returns:
  • (String) - The computed path.

Parameters:
  • path (Pathname) --
def relative_to_srcroot(path)
  path.relative_path_from(client_root).to_s
end

def spec_consumers

Returns:
  • (Array) - The consumers of the Pod.
def spec_consumers
  specs.map { |spec| spec.consumer(platform) }
end

def specs

Returns:
  • (Array) - The specifications used by this aggregate target.
def specs
  pod_targets.map(&:specs).flatten
end

def xcconfig_relative_path

Returns:
  • (String) - The path of the xcconfig file relative to the root of
def xcconfig_relative_path
  relative_to_srcroot(xcconfig_path).to_s
end