Method: Pod::Podfile::TargetDefinition#build_configurations

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

#build_configurationsHash{String => symbol}

Returns A hash where the keys are the name of the build configurations and the values a symbol that represents their type (:debug or :release).

Returns:

  • (Hash{String => symbol})

    A hash where the keys are the name of the build configurations and the values a symbol that represents their type (:debug or :release).



269
270
271
272
273
274
275
# File 'lib/cocoapods-core/podfile/target_definition.rb', line 269

def build_configurations
  if root?
    get_hash_value('build_configurations')
  else
    get_hash_value('build_configurations') || parent.build_configurations
  end
end