Skip to content

Commit 2d9bde5

Browse files
author
xiaoyi
committed
fix(iOS): update embed switf standard lib to no
1 parent 62c0dd9 commit 2d9bde5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Editor/TapCommonIOSProcessor.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ public static void OnPostprocessBuild(BuildTarget buildTarget, string path)
3232
proj.SetBuildProperty(target, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES");
3333
proj.SetBuildProperty(target, "SWIFT_VERSION", "5.0");
3434
proj.SetBuildProperty(target, "CLANG_ENABLE_MODULES", "YES");
35+
3536
proj.SetBuildProperty(unityFrameworkTarget, "ENABLE_BITCODE", "NO");
36-
proj.SetBuildProperty(unityFrameworkTarget, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES");
37+
proj.SetBuildProperty(unityFrameworkTarget, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "NO");
3738
proj.SetBuildProperty(unityFrameworkTarget, "SWIFT_VERSION", "5.0");
3839
proj.SetBuildProperty(unityFrameworkTarget, "CLANG_ENABLE_MODULES", "YES");
3940

@@ -46,7 +47,7 @@ public static void OnPostprocessBuild(BuildTarget buildTarget, string path)
4647

4748
proj.AddFileToBuild(unityFrameworkTarget,
4849
proj.AddFile("usr/lib/libc++.tbd", "libc++.tbd", PBXSourceTree.Sdk));
49-
50+
5051
if (TapCommonCompile.HandlerIOSSetting(path,
5152
Application.dataPath,
5253
"TapCommonResource",

0 commit comments

Comments
 (0)