UE-70358 - Failure to sign when packaging for iOS Distribution when using Remote Compile from a code project on Windows

#jira UE-70358
#rb Ben.Marsh

#ROBOMERGE-OWNER: ryan.gerleve
#ROBOMERGE-AUTHOR: cosmin.sulea
#ROBOMERGE-SOURCE: CL 5382950 in //UE4/Release-4.22/... via CL 5383321
#ROBOMERGE-BOT: ENGINE (Main -> Dev-Networking)

[CL 5415572 by cosmin sulea in Dev-Networking branch]
This commit is contained in:
cosmin sulea
2019-03-15 12:02:29 -04:00
parent 6bad9ab420
commit 8158613257
9 changed files with 76 additions and 24 deletions

View File

@@ -27,9 +27,18 @@ namespace UnrealBuildTool
// always seed the random number the same, so multiple runs of the generator will generate the same project
static Random Rand = new Random(0);
public XcodeProjectFileGenerator(FileReference InOnlyGameProject)
/// <summary>
/// Mark for distribution builds
/// </summary>
bool bForDistribution = false;
public XcodeProjectFileGenerator(FileReference InOnlyGameProject, CommandLineArguments CommandLine)
: base(InOnlyGameProject)
{
if (CommandLine.HasOption("-distribution"))
{
bForDistribution = true;
}
}
/// <summary>
@@ -90,7 +99,7 @@ namespace UnrealBuildTool
/// <returns>The newly allocated project file object</returns>
protected override ProjectFile AllocateProjectFile(FileReference InitFilePath)
{
return new XcodeProjectFile(InitFilePath, OnlyGameProject);
return new XcodeProjectFile(InitFilePath, OnlyGameProject, bForDistribution);
}
/// ProjectFileGenerator interface