def create_configuration(name)
      # To create a configuration, we need to create or retrieve the configuration list
      
      created_config = build_configuration_list.create_config(name) do |config|
        yield config if block_given?
      end
      
      created_config
    end
def create_configuration(name)
      # To create a configuration, we need to create or retrieve the configuration list
      
      created_config = build_configuration_list.create_config(name) do |config|
        yield config if block_given?
      end
      
      created_config
    end
Create a configuration for the target or project.

 @example creating a new 'App Store Submission' configuration for a project

     project.create_config 'App Store Submission' # => Configuration

 @example creating a new 'Ad Hoc' configuration for a target

   target.create_config 'Ad Hoc' do |config|
     # configuration the new debug config.
   end

 @param [String] name of the configuration to create
 @return [BuildConfiguration] that is created