public static void AddFrameworkSearchPath(IIgorModule ModuleInst, string ProjectPath, string NewPath)
{
if(IgorAssert.EnsureTrue(ModuleInst, Directory.Exists(ProjectPath), "XCodeProj doesn't exist at path " + ProjectPath))
{
XCProject CurrentProject = new XCProject(ProjectPath);
CurrentProject.Backup();
CurrentProject.AddFrameworkSearchPaths(NewPath);
IgorDebug.Log(ModuleInst, "Added framework search path " + NewPath);
CurrentProject.Save();
}
}