parameters: (self, key)
return_statement: return value
docstring: Gets the build setting for key.
  
      All child XCConfiguration objects must have the same value set for the
      setting, or a ValueError will be raised.
docstring_summary: Gets the build setting for key.
docstring_tokens: Gets the build setting for key .
function: def GetBuildSetting(self, key):
          """Gets the build setting for key.
  
      All child XCConfiguration objects must have the same value set for the
      setting, or a ValueError will be raised.
      """
  
          # TODO(mark): This is wrong for build settings that are lists.  The list
          # contents should be compared (and a list copy returned?)
  
          value = None
          for configuration in self._properties["buildConfigurations"]:
              configuration_value = configuration.GetBuildSetting(key)
              if value is None:
                  value = configuration_value
              else:
                  if value != configuration_value:
                      raise ValueError("Variant values for " + key)
  
          return value
function_tokens: def GetBuildSetting ( self , key ) : # TODO(mark): This is wrong for build settings that are lists.  The list # contents should be compared (and a list copy returned?) value = None for configuration in self . _properties [ "buildConfigurations" ] : configuration_value = configuration . GetBuildSetting ( key ) if value is None : value = configuration_value else : if value != configuration_value : raise ValueError ( "Variant values for " + key ) return value