[change] 禁用hybridclr后打包ios时不再修改导出的xcode工程
parent
6757f6df5b
commit
210c781fad
|
@ -29,9 +29,8 @@ namespace HybridCLR.Editor
|
||||||
[PostProcessBuild]
|
[PostProcessBuild]
|
||||||
public static void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject)
|
public static void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject)
|
||||||
{
|
{
|
||||||
if (target != BuildTarget.iOS)
|
if (target != BuildTarget.iOS || !HybridCLRSettings.Instance.enable)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 1. 生成lump,并且添加到工程
|
* 1. 生成lump,并且添加到工程
|
||||||
3. 将libil2cpp目录复制到 Library/. 删除旧的. search paths里修改 libil2cpp/include为libil2cpp
|
3. 将libil2cpp目录复制到 Library/. 删除旧的. search paths里修改 libil2cpp/include为libil2cpp
|
||||||
|
|
|
@ -21,7 +21,7 @@ namespace HybridCLR.Editor
|
||||||
[PostProcessBuild]
|
[PostProcessBuild]
|
||||||
public static void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject)
|
public static void OnPostProcessBuild(BuildTarget target, string pathToBuiltProject)
|
||||||
{
|
{
|
||||||
if (target != BuildTarget.iOS)
|
if (target != BuildTarget.iOS || !HybridCLRSettings.Instance.enable)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
string pbxprojFile = $"{pathToBuiltProject}/Unity-iPhone.xcodeproj/project.pbxproj";
|
string pbxprojFile = $"{pathToBuiltProject}/Unity-iPhone.xcodeproj/project.pbxproj";
|
||||||
|
|
Loading…
Reference in New Issue