def _AddIOSDeviceConfigurations(targets):
  for target_dict in targets.itervalues():
    toolset = target_dict['toolset']
    configs = target_dict['configurations']
    for config_name, config_dict in dict(configs).iteritems():
      iphoneos_config_dict = copy.deepcopy(config_dict)
      configs[config_name + '-iphoneos'] = iphoneos_config_dict
      configs[config_name + '-iphonesimulator'] = config_dict
      if toolset == 'target':
        iphoneos_config_dict['xcode_settings']['SDKROOT'] = 'iphoneos'
  return targets
Run command with arguments and return its output as a byte string.
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/xcode_emulation.py/_AddIOSDeviceConfigurations--crossover with--dataset/ETHPy150Open JetBrains/python-skeletons/subprocess.py/check_output