RemoveFrameworkFromProject() public method

public RemoveFrameworkFromProject ( string targetGuid, string framework ) : void
targetGuid string
framework string
return void
Esempio n. 1
0
 //设置frameworks
 private static void SetFrameworks(PBXProject proj, Hashtable table)
 {
     if (table != null)
     {
         string    target  = proj.TargetGuidByName(PBXProject.GetUnityTargetName());
         ArrayList addList = table["+"] as ArrayList;
         if (addList != null)
         {
             foreach (string i in addList)
             {
                 proj.AddFrameworkToProject(target, i, false);
             }
         }
         ArrayList removeList = table["-"] as ArrayList;
         if (removeList != null)
         {
             foreach (string i in removeList)
             {
                 proj.RemoveFrameworkFromProject(target, i);
             }
         }
     }
 }