예제 #1
0
파일: XcodeSetting.cs 프로젝트: li5414/Usdk
 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);
         }
     }
 }