class Xcodeproj::Project::Object::PBXTargetDependency


Represents a dependency of a target on another one.

def ascii_plist_annotation

def ascii_plist_annotation
  " #{isa} "
end

def display_name

Returns:
  • (String) - The name of the dependency.
def display_name
  return name if name
  return target.name if target
  return target_proxy.remote_info if target_proxy
end

def native_target_uuid

Returns:
  • (String) - uuid of the target, if the dependency
def native_target_uuid
  return target.uuid if target
  return target_proxy.remote_global_id_string if target_proxy
  raise "Expected target or target_proxy, from which to fetch a uuid for target '#{display_name}'." \
    "Find and clear the PBXTargetDependency entry with uuid '#{@uuid}' in your .xcodeproj."
end

def sort_recursively(_options = nil)

Other tags:
    See: AbstractObject#sort_recursively -

Other tags:
    Note: - This is a no-op, because the targets could theoretically depend
def sort_recursively(_options = nil)
end

def to_tree_hash

Returns:
  • (Hash String>) - Returns a cascade representation of

Other tags:
    Note: - This override is necessary because Xcode allows for circular
def to_tree_hash
  hash = {}
  hash['displayName'] = display_name
  hash['isa'] = isa
  hash
end