fix PostProcessor
This commit is contained in:
parent
43b8a0d4af
commit
26ce951bfd
|
|
@ -91,8 +91,6 @@ public static class PostProcessor{
|
||||||
pj.AddFrameworkToProject(target, "AdSupport.framework", false);
|
pj.AddFrameworkToProject(target, "AdSupport.framework", false);
|
||||||
pj.AddFrameworkToProject(target, "iAd.framework", false);
|
pj.AddFrameworkToProject(target, "iAd.framework", false);
|
||||||
|
|
||||||
var target2 = pj.GetUnityMainTargetGuid();
|
|
||||||
|
|
||||||
foreach (KeyValuePair<string, Dictionary<string, string>> entry in appTextMap) {
|
foreach (KeyValuePair<string, Dictionary<string, string>> entry in appTextMap) {
|
||||||
|
|
||||||
string appNameConverted = "";
|
string appNameConverted = "";
|
||||||
|
|
@ -125,7 +123,7 @@ public static class PostProcessor{
|
||||||
w.Close();
|
w.Close();
|
||||||
|
|
||||||
string fileGuid = pj.AddFile( Path.Combine(path, lprojDir), "/"+lprojDir, PBXSourceTree.Source );
|
string fileGuid = pj.AddFile( Path.Combine(path, lprojDir), "/"+lprojDir, PBXSourceTree.Source );
|
||||||
pj.AddFileToBuild( target2, fileGuid );
|
pj.AddFileToBuild( target, fileGuid );
|
||||||
pj.WriteToFile( projectPath );
|
pj.WriteToFile( projectPath );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue