update: 更新 IOS 内的打包管线逻辑. UnityFramework 设置ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES ->NO
Signed-off-by: huyufei <yufei.hu@castbox.fm>main
parent
8cc083410d
commit
1256880b22
|
|
@ -11,7 +11,7 @@ namespace Guru
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class IOSPostBuildSwift
|
public class IOSPostBuildSwift
|
||||||
{
|
{
|
||||||
[PostProcessBuild(40)]
|
[PostProcessBuild(2000)]
|
||||||
public static void OnPostProcessBuild(BuildTarget target, string buildPath)
|
public static void OnPostProcessBuild(BuildTarget target, string buildPath)
|
||||||
{
|
{
|
||||||
if (target != BuildTarget.iOS) return;
|
if (target != BuildTarget.iOS) return;
|
||||||
|
|
@ -43,7 +43,7 @@ namespace Guru
|
||||||
|
|
||||||
// 设置主项目的SWIFT构建支持
|
// 设置主项目的SWIFT构建支持
|
||||||
project.SetBuildProperty(mainTargetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES");
|
project.SetBuildProperty(mainTargetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "YES");
|
||||||
|
project.SetBuildProperty(frameworkTargetGuid, "ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES", "NO");
|
||||||
|
|
||||||
project.WriteToFile(projectPath);
|
project.WriteToFile(projectPath);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue