Description

Attempting to create a local binary build of the Engine for the iOS platform using BuildGraph is currently failing. While trying to build UHT for Mac using a remote build, the build fails because it cannot find several files on the Mac. These files appear to be dependency files that would have been downloaded when Setup was run, since they are not present in the GitHub repo.

Steps to Reproduce

SETUP:
This requires that the Engine source code be set up to use remote build. To accomplish this, open the BaseEngine.ini file and locate the [/Script/IOSRuntimeSettings.IOSRuntimeSettings] section. Set the RemoteServerName and RSyncUsername fields to the values that you currently use when performing a remote build.

REPRO:

  1. Navigate to the Engine\Build\Batchfiles directory for an Engine built from source code.
  2. Open a command prompt at this location.
  3. Run the following command:
    RunUAT.bat BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:WithIOS=true -set:WithSwitch=false -set:WithTVOS=false -set:WithLinux=false -set:WithHTML5=false -set:WithAndroid=false -set:SignExecutables=false -set:WithDDC=false -clean
    

RESULT:
The build fails while compiling UHT for Mac. The following errors are displayed:

UnrealBuildTool: clang: error: no such file or directory: '/Users/compile/UE4/Builds/RDU-WD-8498/D/UnrealEngine-4.16.3-release/Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/lib/Mac/libtbb.a'
UnrealBuildTool: clang: error: no such file or directory: '/Users/compile/UE4/Builds/RDU-WD-8498/D/UnrealEngine-4.16.3-release/Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/lib/Mac/libtbbmalloc.a'
UnrealBuildTool: clang: error: no such file or directory: '/Users/compile/UE4/Builds/RDU-WD-8498/D/UnrealEngine-4.16.3-release/Engine/Source/ThirdParty/zlib/v1.2.8/lib/Mac/libz.a'
UnrealBuildTool: clang: error: no such file or directory: '/Users/compile/UE4/Builds/RDU-WD-8498/D/UnrealEngine-4.16.3-release/Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Mac/Release/libCrashReporter-MacOSX-Static.a'

EXPECTED:
The local binary build completes successfully.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-50805 in the post.

6
Login to Vote

Won't Fix
ComponentUE - Foundation - Core
Affects Versions4.16.34.17.24.18
CreatedOct 5, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue