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.
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.
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
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'
The local binary build completes successfully.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-50805 in the post.
|Component||UE - Foundation - Core|
|Affects Versions||4.16.3, 4.17.2, 4.18|
|Created||Oct 5, 2017|
|Resolved||Aug 18, 2021|
|Updated||Aug 18, 2021|