示例#1
0
 private static void SetShellScriptBuildPhase(PBXProject proj, Hashtable table)
 {
     if (table != null)
     {
         string    target   = proj.TargetGuidByName(PBXProject.GetUnityTargetName());
         Hashtable addTable = table.SGet <Hashtable>("+");
         foreach (DictionaryEntry i in addTable)
         {
             string shellName   = i.Key.ToString();
             string shellScript = i.Value.ToString();
             proj.AddShellScriptBuildPhase(target, shellName, "/bin/sh", shellScript);
         }
     }
 }