Fix macOS build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user