Module: Xcode::ContainerItemProxy

Defined in:
lib/xcode/container_item_proxy.rb

Overview

Within a Target Dependency there is a ContainerItemProxy object which likely holds the reference to the project (important if there are multiple projects) and the target within that project.

Class Method Summary collapse

Class Method Details

.default(project_identifier, target_identifier, target_name) ⇒ Object

Generate default properties for a Container Item Proxy



29
30
31
32
33
34
35
36
37
38
# File 'lib/xcode/container_item_proxy.rb', line 29

def self.default(project_identifier,target_identifier,target_name)
  { 'isa' => 'PBXContainerItemProxy',
    'containerPortal' => project_identifier,
    'proxyType' => 1,
    'remoteGlobalIDString' => target_identifier,
    # @todo It is unclear if the remoteInfo name is necessary and it is currently
    #   unclear to me how this value is set. At the moment it simply set with
    #   the target name supplied.
    'remoteInfo' => target_name }
end