Download

4.26 BuildGraph failing due to IOS on Win64, with HostPlatformOnly

Hi,

I’m trying to package a binary build on Win64, but am encountering errors due to some IOS components, namely:


C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2123,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "BouncyCastle.Crypto". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\Unreal Engine 4\Builds\UnrealEngine-4.26Toon\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\iPhonePackager.csproj]
D:\Unreal Engine 4\Builds\UnrealEngine-4.26Toon\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\Properties\Resources.resx(123,5): error MSB3103: Invalid Resx file. Could not find file 'D:\Unreal Engine 4\Builds\UnrealEngine-4.26Toon\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\Resources\GreyCheck.png'. Line 123, position 5. [D:\Unreal Engine 4\Builds\UnrealEngine-4.26Toon\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\iPhonePackager.csproj]
Took 0.6851679s to run MSBuild.exe, ExitCode=1
Command failed (Result:1): C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe "D:\Unreal Engine 4\Builds\UnrealEngine-4.26Toon\Engine\Saved\CsTools\Engine\Source\Programs\IOS\iPhonePackager\iPhonePackager.csproj" /property:Platform=AnyCPU /property:Configuration=Development /verbosity:minimal /target:Rebuild /verbosity:minimal /nologo. See logfile for details: 'MSBuild-2021.03.16-13.31.56.txt'
AutomationTool exiting with ExitCode=1 (Error_Unknown)
AutomationToolLauncher exited with code 0

The BuildGraph command I’m running is below. I’m unsure why the iPhonePackager components are even being built when I’ve specified HostPlatformOnly/HostPlatformEditorOnly?


BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:WithDDC=true -set:SignExecutables=false -set:EmbedSrcSrvInfo=false -set:GameConfigurations=Development;Shipping -set:WithFullDebugInfo=false -set:HostPlatformEditorOnly=true -set:AnalyticsTypeOverride= -set:HostPlatformDDCOnly=true -set:HostPlatformOnly=true -set:CompileDatasmithPlugins=false -set:VS2019=false -set:WithServer=false -set:WithClient=false -set:WithHoloLens=false

Same occurs with WithIOS=false… Is there a way to skip over these IOS components?