Class: Pod::Podfile::TargetDefinition

Inherits:
Object
  • Object
show all
Includes:
PodTargetInhibitWarning
Defined in:
lib/cocoapods/taobao/environment/inhibit_pod_warning.rb,
lib/cocoapods/taobao/environment/cocoapods_sync_dependencies.rb

Instance Method Summary collapse

Methods included from PodTargetInhibitWarning

#initialize

Instance Method Details

#podsObject



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/cocoapods/taobao/environment/cocoapods_sync_dependencies.rb', line 8

def pods
  if PodVersion('~> 0.39')
    get_hash_value('dependencies', [])
  else
    if exclusive?
      pod_dependencies
    else
      pod_dependencies + parent.pods
    end
  end
end