Modify the xcconfig build path and pass the resulting file path to the addHeaderSearchPaths function.
166863
function() {
        let xcConfigBuildFilePath = path.join(cwd, 'platforms', 'ios', 'cordova', 'build.xcconfig');

        try {
            let xcConfigBuildFileExists = fs.accessSync(xcConfigBuildFilePath);
        }
        catch(e) {
            console.log('Could not locate build.xcconfig, you will need to set HEADER_SEARCH_PATHS manually');
            return;
        }

        console.log(`xcConfigBuildFilePath: ${xcConfigBuildFilePath}`);

        addHeaderSearchPaths(xcConfigBuildFilePath);
    }
1339807
function updatePluginResourceRequirePath(file, moduleConfig, pluginResPackInfo) {
    file.setContent(amdHelper.updateResourceId(
        file.getContent(),
        function (resId, moduleInfo, isAsynDep) {
            if (resId.indexOf('!') === -1) {
                return resId;
            }

            var moduleId = moduleInfo.id
                || amdHelper.getModuleId(file.id, moduleConfig, true);
            if (!moduleId) {
                return resId;
            }

            var resInfo = amdHelper.getResourceInfo(
                resId, isAsynDep ? null : moduleId, moduleConfig
            );
            var resFileInfo = pluginResPackInfo[resInfo.pluginResource.path];
            if (resFileInfo) {
                var pkg = resFileInfo.packTo.pkg;
                var pluginResId = amdHelper.getResourceId(
                    pkg.realpath, moduleConfig, true
                );
                return resInfo.module.rawId + '!' + pluginResId;
            }

            return resId;
        }
    ));
}
1050286
protected function buildXml()
    {
        $_config =& CKFinder_Connector_Core_Factory::getInstance("Core_Config");
        if (!$this->_currentFolder->checkAcl(CKFINDER_CONNECTOR_ACL_FILE_VIEW)) {
            $this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED);
        }

        // Map the virtual path to the local server path.
        $_sServerDir = $this->_currentFolder->getServerPath();

        // Create the "Files" node.
        $oFilesNode = new Ckfinder_Connector_Utils_XmlNode("Files");
        $this->_connectorNode->addChild($oFilesNode);

        if (!is_dir($_sServerDir)) {
            $this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_FOLDER_NOT_FOUND);
        }

        $files = array();
        $thumbFiles = array();

        if ($dh = @opendir($_sServerDir)) {
            while (($file = readdir($dh)) !== false) {
                if ($file != "." && $file != ".." && !is_dir($_sServerDir . $file)) {
                    $files[] = $file;
                }
            }
            closedir($dh);
        } else {
            $this->_errorHandler->throwError(CKFINDER_CONNECTOR_ERROR_ACCESS_DENIED);
        }

        $resourceTypeInfo = $this->_currentFolder->getResourceTypeConfig();

        if (sizeof($files)>0) {
            $_thumbnailsConfig = $_config->getThumbnailsConfig();
            $_thumbServerPath = '';
            $_showThumbs = (!empty($_GET['showThumbs']) && $_GET['showThumbs'] == 1);
            if ($_thumbnailsConfig->getIsEnabled() && ($_thumbnailsConfig->getDirectAccess() || $_showThumbs)) {
                $_thumbServerPath = $this->_currentFolder->getThumbsServerPath();
            }

            natcasesort($files);
            $i=0;
            foreach ($files as $file) {
                $filemtime = @filemtime($_sServerDir . $file);

                //otherwise file doesn't exist or we can't get it's filename properly
                if ($filemtime !== false) {
                    $filename = CKFinder_Connector_Utils_Misc::mbBasename($file);
                    if (!$resourceTypeInfo->checkExtension($filename, false)) {
                        continue;
                    }
                    if ($resourceTypeInfo->checkIsHiddenFile($filename)) {
                        continue;
                    }
                    $oFileNode[$i] = new Ckfinder_Connector_Utils_XmlNode("File");
                    $oFilesNode->addChild($oFileNode[$i]);
                    $oFileNode[$i]->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding(CKFinder_Connector_Utils_Misc::mbBasename($file)));
                    $oFileNode[$i]->addAttribute("date", @date("YmdHi", $filemtime));
                    if (!empty($_thumbServerPath) && preg_match(CKFINDER_REGEX_IMAGES_EXT, $filename)) {
                        if (file_exists($_thumbServerPath . $filename)) {
                            $oFileNode[$i]->addAttribute("thumb", $filename);
                        }
                        elseif ($_showThumbs) {
                            $oFileNode[$i]->addAttribute("thumb", "?" . $filename);
                        }
                    }
                    $size = filesize($_sServerDir . $file);
                    if ($size && $size<1024) {
                        $size = 1;
                    }
                    else {
                        $size = (int)round($size / 1024);
                    }
                    $oFileNode[$i]->addAttribute("size", $size);
                    $i++;
                }
            }
        }
    }
248129
public static void modifySelfConfig(String configAbsoluteClassPath, Map<IConfigKey, String> modifyConfig)
            throws IOException {
        OneProperties configs = otherConfigs.get(configAbsoluteClassPath);
        if (configs == null) {
            return;
        }
        configs.modifyConfig(modifyConfig);
    }
794155
public void addPath(MultiPath src, int srcPathIndex, boolean bForward) {
		m_impl.addPath((MultiPathImpl) src._getImpl(), srcPathIndex, bForward);
	}
541083
def modify_path():
    """"""
    # Only modify path on Windows.
    if os.name != "nt":
        return

    path = os.environ.get("PATH")
    if path is None:
        return

    try:
        extra_dll_dir = pkg_resources.resource_filename("bezier", "extra-dll")
        if os.path.isdir(extra_dll_dir):
            os.environ["PATH"] = path + os.pathsep + extra_dll_dir
    except ImportError:
        pass
1199599
def add_suffix(file_path, suffix='modified', sep='_', ext=None):
    """"""
    return _add_suffix(file_path, suffix, sep, ext)
231963
public static void modifyHavePathSelfConfig(Map<IConfigKeyWithPath, String> modifyConfig) throws IOException {
        Map<String, Map<IConfigKeyWithPath, String>> configPaths =
                new HashMap<String, Map<IConfigKeyWithPath, String>>();
        for (IConfigKeyWithPath configKeyWithPath : modifyConfig.keySet()) {
            String configAbsoluteClassPath = configKeyWithPath.getConfigPath();
            Map<IConfigKeyWithPath, String> configKeys = configPaths.get(configAbsoluteClassPath);
            if (configKeys == null) {
                configKeys = new HashMap<IConfigKeyWithPath, String>();
                configPaths.put(configAbsoluteClassPath, configKeys);
            }
            configKeys.put(configKeyWithPath, modifyConfig.get(configKeyWithPath));
        }
        for (String configAbsoluteClassPath : configPaths.keySet()) {
            OneProperties configs = otherConfigs.get(configAbsoluteClassPath);
            if (configs == null) {
                return;
            }
            configs.modifyConfig(configPaths.get(configAbsoluteClassPath));
        }
    }
804183
def add_source_override(self, fullname, path, source, is_pkg):
        
        self._finder.add_source_override(fullname, path, source, is_pkg)
232092
def modify_config(path):
    
    if isinstance(path, str):
        path = Path(path)
    config = _read_pkg_ini(path)
    _validate_config(config, path)

    # don't catch exception, we won't write the new config.
    yield config

    _validate_config(config, path)
    with path.open('w') as f:
        config.write(f)
1373534
def modify_conf(cfgfile, service_name, outfn):
    """"""

    if not cfgfile or not outfn:
        print('ERROR: There is no config file.')
        sys.exit(0)

    options = service_options[service_name]
    with open(cfgfile, 'r') as cf:
        lines = cf.readlines()

    for opt in options:
        op = opt.get('option')
        res = [line for line in lines if line.startswith(op)]
        if len(res) > 1:
            print('ERROR: There are more than one %s option.' % res)
            sys.exit(0)
        if res:
            (op, sep, val) = (res[0].strip('\n').replace(' ', '').
                              partition('='))
            new_val = None
            if opt.get('is_list'):
                # Value for this option can contain list of values.
                # Append the value if it does not exist.
                if not any(opt.get('value') == value for value in
                           val.split(',')):
                    new_val = ','.join((val, opt.get('value')))
            else:
                if val != opt.get('value'):
                    new_val = opt.get('value')
            if new_val:
                opt_idx = lines.index(res[0])
                # The setting is different, replace it with new one.
                lines.pop(opt_idx)
                lines.insert(opt_idx, '='.join((opt.get('option'),
                             new_val + '\n')))
        else:
            # Option does not exist. Add the option.
            try:
                sec_idx = lines.index('[' + opt.get('section') + ']\n')
                lines.insert(sec_idx + 1, '='.join(
                    (opt.get('option'), opt.get('value') + '\n')))
            except ValueError:
                print('Invalid %s section name.' % opt.get('section'))
                sys.exit(0)

    with open(outfn, 'w') as fwp:
        all_lines = ''
        for line in lines:
            all_lines += line

        fwp.write(all_lines)
394020
def extend(path=None, cache=None):
    """"""
    if path is None:
        path = config.PATH
    try:
        path = path.split(':')
    except:
        pass

    sys.path.extend([library.to_path(p, cache) for p in path])
1097310
def append_rez_path(self):
        """"""
        if system.rez_bin_path:
            self.env.PATH.append(system.rez_bin_path)
335762
def change_path_prefix(self, path, old_prefix, new_prefix, app_name):
        """"""
        relative_path = os.path.relpath(path, old_prefix)
        return os.path.join(new_prefix, app_name, relative_path)
978017
def add_blacklisted_filepaths(self, filepaths, remove_from_stored=True):
        
        self.file_manager.add_blacklisted_filepaths(filepaths,
                                                    remove_from_stored)
926147
def AddHeader(self, header, value):
        '''
        '''
        self.user_headers.append((header, value))
        return self
1316293
def update_pod_xcconfigs_for_mangling!
      Pod::UI.message '- Updating Pod xcconfig files' do
        @context.pod_xcconfig_paths.each do |pod_xcconfig_path|
          Pod::UI.message "- Updating '#{File.basename(pod_xcconfig_path)}'"
          update_pod_xcconfig_for_mangling!(pod_xcconfig_path)
        end
      end
    end