Method: Pod::Podfile::TargetDefinition#configuration_pod_whitelist

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

#configuration_pod_whitelistHash<String, Array> (private)

Returns the configuration_pod_whitelist hash

Returns:

  • (Hash<String, Array>)

    Hash with configuration name as key, array of pod names to be linked in builds with that configuration as value.



961
962
963
964
965
966
967
968
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 961

def configuration_pod_whitelist
  whitelist_hash = raw_configuration_pod_whitelist
  if exclusive?
    whitelist_hash
  else
    parent.send(:configuration_pod_whitelist).merge(whitelist_hash) { |_, l, r| Array(l).concat(r).uniq }
  end
end