Method: Xcodeproj::Project::Object::PBXTargetDependency#to_tree_hash

Defined in:
lib/xcodeproj/project/object/target_dependency.rb

#to_tree_hashHash<String => String>

Note:

This override is necessary because Xcode allows for circular target dependencies.

Returns a cascade representation of the object without UUIDs.

Returns:

  • (Hash<String => String>)

    Returns a cascade representation of the object without UUIDs.



76
77
78
79
80
81
82
# File 'lib/xcodeproj/project/object/target_dependency.rb', line 76

def to_tree_hash
  hash = {}
  hash['displayName'] = display_name
  hash['isa'] = isa
  hash['targetProxy'] = target_proxy.to_tree_hash
  hash
end