Fix macOS build

This commit is contained in:
Wojtek Figat
2023-05-10 08:08:21 +02:00
parent d29c2fc5af
commit b14f5f5cd6
2 changed files with 2 additions and 2 deletions

View File

@@ -242,7 +242,7 @@ bool MacPlatformTools::OnPostProcess(CookingData& data)
const int32 result = Platform::RunProcess(dmgCommand, data.OriginalOutputPath); const int32 result = Platform::RunProcess(dmgCommand, data.OriginalOutputPath);
if (result != 0) if (result != 0)
{ {
data.Error(TEXT("Failed to package app (result code: {0}). See log for more info."), result); data.Error(String::Format(TEXT("Failed to package app (result code: {0}). See log for more info."), result));
return true; return true;
} }
// TODO: sign dmg // TODO: sign dmg

View File

@@ -258,7 +258,7 @@ bool iOSPlatformTools::OnPostProcess(CookingData& data)
const int32 result = Platform::RunProcess(ipaCommand, data.OriginalOutputPath); const int32 result = Platform::RunProcess(ipaCommand, data.OriginalOutputPath);
if (result != 0) if (result != 0)
{ {
data.Error(TEXT("Failed to package app (result code: {0}). See log for more info."), result); data.Error(String::Format(TEXT("Failed to package app (result code: {0}). See log for more info."), result));
return true; return true;
} }
LOG(Info, "Output application package: {0} (size: {1} MB)", ipaPath, FileSystem::GetFileSize(ipaPath) / 1024 / 1024); LOG(Info, "Output application package: {0} (size: {1} MB)", ipaPath, FileSystem::GetFileSize(ipaPath) / 1024 / 1024);