Browse Source

ios build

gdl_123 5 months ago
parent
commit
b2bc9da0f8

+ 9 - 2
Assets/Editor/Pack/Platform/PackPlatformiOSBuild.cs

@@ -104,6 +104,8 @@ namespace Pack
             }
             if (!exist)
             {
+                //packFileName = packFileName.Replace(" ", "_");
+                packFileName = packFileName.Replace(":", "_");
                 File.Create(Path.Combine(dirPath, packFileName + ".txt"));
             }
 
@@ -127,7 +129,12 @@ namespace Pack
         {
             if (urlTypes == null)
             {
-                urlTypes = plist.root.CreateArray("CFBundleURLTypes");
+                if (plist.root.values.ContainsKey("CFBundleURLTypes"))
+                {
+                    urlTypes = plist.root["CFBundleURLTypes"].AsArray();
+                }
+                else
+                    urlTypes = plist.root.CreateArray("CFBundleURLTypes");
             }
             PlistElementDict dict = urlTypes.AddDict();
             dict.SetString("CFBundleTypeRole", role);
@@ -276,7 +283,7 @@ namespace Pack
                 { "registerEventToken",     new DictItem("string","6s22py")},
             },false, dict);
 
-
+            
             PlistAddUrlType(plistDocument, null, "facebook", "Editor", "fb849135470863608");
 
 

File diff suppressed because it is too large
+ 29008 - 28889
Assets/OPS/Obfuscator/Log/iOS.txt


+ 1 - 1
ProjectSettings/ProjectSettings.asset

@@ -877,7 +877,7 @@ PlayerSettings:
   allowUnsafeCode: 0
   useDeterministicCompilation: 1
   enableRoslynAnalyzers: 1
-  additionalIl2CppArgs: --linker-flags="-Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384"
+  additionalIl2CppArgs: 
   scriptingRuntimeVersion: 1
   gcIncremental: 1
   assemblyVersionValidation: 1

Some files were not shown because too many files changed in this diff