Method: Pod::Podfile::TargetDefinition#dependencies

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

#dependenciesArray<Dependency>

Returns The list of the dependencies of the target definition including the inherited ones.

Returns:

  • (Array<Dependency>)

    The list of the dependencies of the target definition including the inherited ones.



70
71
72
73
74
75
76
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 70

def dependencies
  if exclusive?
    non_inherited_dependencies
  else
    non_inherited_dependencies + parent.dependencies
  end
end