def create_configurations(*configuration_names)
      
      configuration_names.compact.flatten.map do |config_name|
        created_config = create_configuration config_name do |config|
          yield config if block_given?
        end
        
        created_config.save!
      end
      
    end
def create_configurations(*configuration_names)
      
      configuration_names.compact.flatten.map do |config_name|
        created_config = create_configuration config_name do |config|
          yield config if block_given?
        end
        
        created_config.save!
      end
      
    end
Create multiple configurations for a target or project.

 @example creating 'Release' and 'Debug for a new target

     new_target = project.create_target 'UniversalBinary'
     new_target.create_configurations 'Debug', 'Release' do |config|
       # set up the configurations
     end

 @param [String,Array<String>] configuration_names the names of the
   configurations to create.