Method: Pod::Podfile#target_definitions

Defined in:
lib/cocoapods-core/podfile.rb

#target_definitionsHash{Symbol,String => TargetDefinition}

Returns the target definitions of the Podfile stored by their name.

Returns:

  • (Hash{Symbol,String => TargetDefinition})

    the target definitions of the Podfile stored by their name.



72
73
74
# File 'lib/cocoapods-core/podfile.rb', line 72

def target_definitions
  Hash[target_definition_list.map { |td| [td.name, td] }]
end