[fix] 修复团结引擎导出iOS平台xcode工程文件名改名为Tuanjie-iPhone.xcodeproj导致构建xcode工程失败的bug

main
walon 2024-03-26 21:06:37 +08:00
parent 6c679cc3ab
commit 24f85780a2
1 changed files with 4 additions and 1 deletions

View File

@ -24,8 +24,11 @@ namespace HybridCLR.Editor.BuildProcessors
{
if (target != BuildTarget.iOS || !HybridCLRSettings.Instance.enable)
return;
#if TUANJIE_2022_3_OR_NEWER
string pbxprojFile = $"{pathToBuiltProject}/Tuanjie-iPhone.xcodeproj/project.pbxproj";
#else
string pbxprojFile = $"{pathToBuiltProject}/Unity-iPhone.xcodeproj/project.pbxproj";
#endif
RemoveExternalLibil2cppOption(pbxprojFile);
CopyLibil2cppToXcodeProj(pathToBuiltProject);
}