pbxProjFile.refreshLocal(IResource.DEPTH_INFINITE, _monitor);
  public void writeXcodeProject(IProgressMonitor _monitor, IProject _project, PBXProject _xcodeProject, String _projectFolderName) throws CoreException {    _project.accept(new XcodeResourceVisitor(_xcodeProject));    IProjectAdapter projectAdapter = (IProjectAdapter) _project.getAdapter(IProjectAdapter.class);    List frameworkPaths = projectAdapter.getFrameworkPaths();    Iterator frameworkPathsIter = frameworkPaths.iterator();    while (frameworkPathsIter.hasNext()) {      IPath frameworkPath = (IPath) frameworkPathsIter.next();      // NTS: What do we do about project frameworks here??      _xcodeProject.addFrameworkReference(frameworkPath.toOSString());    }        IFile projectFolderFile = _project.getFile(_projectFolderName);    if (projectFolderFile.exists()) {      // NTS: ??      BuilderPlugin.getDefault().log("Specified Xcode project package (" + _projectFolderName + ") is not a directory.");    }    else {      IFolder projectFolder = _project.getFolder(_projectFolderName);      if (!projectFolder.exists()) {        projectFolder.create(true, false, _monitor);      }      IFile pbxProjFile = projectFolder.getFile("project.pbxproj");      if (!pbxProjFile.exists()) {        pbxProjFile.create(new ByteArrayInputStream(new byte[0]), false, _monitor);      }      _xcodeProject.save(pbxProjFile.getLocation().toFile());    }  }