I have compiled UE source 4.21.2 in order to try to fix a ios packaging problem but I stuck in another problem that I was not getting when using the release version
The error is this:
...
UATHelper: Packaging (iOS): Building UnrealHeaderTool...
UATHelper: Packaging (iOS): Performing 11 actions (3 in parallel)
UATHelper: Packaging (iOS): [1/11] Link UnrealHeaderTool-Core.dylib
UATHelper: Packaging (iOS): clang: error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/lib/Mac/libtbb.a'
UATHelper: Packaging (iOS): clang: error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/lib/Mac/libtbbmalloc.a'
UATHelper: Packaging (iOS): clang: error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/zlib/v1.2.8/lib/Mac/libz.a'
UATHelper: Packaging (iOS): clang: error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Mac/Release/libCrashReporter-MacOSX-Static.a'
UATHelper: Packaging (iOS): clang: error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/rd_route/lib/Mac/librd_route.a'
PackagingResults: Error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/lib/Mac/libtbb.a'
PackagingResults: Error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/IntelTBB/IntelTBB-4.0/lib/Mac/libtbbmalloc.a'
PackagingResults: Error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/zlib/v1.2.8/lib/Mac/libz.a'
PackagingResults: Error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/PLCrashReporter/plcrashreporter-master-5ae3b0a/Mac/Release/libCrashReporter-MacOSX-Static.a'
PackagingResults: Error: no such file or directory: '/Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Source/ThirdParty/rd_route/lib/Mac/librd_route.a'
UATHelper: Packaging (iOS): ERROR: UBT ERROR: Failed to produce item: /Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Binaries/Mac/UnrealHeaderTool-Core.dylib
UATHelper: Packaging (iOS): (see D:\ue4-4.21.2\Engine\Programs\AutomationTool\Saved\Logs\UBT-MummyGolf-IOS-Shipping_2_Remote_UHT.txt for full exception trace)
UATHelper: Packaging (iOS): Total build time: 2.51 seconds (Local executor: 0.00 seconds)
UATHelper: Packaging (iOS): Error: UnrealHeaderTool failed for target 'MummyGolf' (platform: IOS, module info: /Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/PerforceWorkspace/MummyGolf_4.21/Intermediate/Build/IOS/MummyGolf/Shipping/MummyGolf.uhtmanifest, exit code: OtherCompilationError (5)).
UATHelper: Packaging (iOS): [Remote] Downloading D:\ue4-4.21.2\Engine\Programs\AutomationTool\Saved\Logs\UBT-MummyGolf-IOS-Shipping_2_Remote.txt
PackagingResults: Error: UBT ERROR: Failed to produce item: /Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/ue4-4.21.2/Engine/Binaries/Mac/UnrealHeaderTool-Core.dylib
PackagingResults: Error: UnrealHeaderTool failed for target 'MummyGolf' (platform: IOS, module info: /Users/daniel/UE4/Builds/DESKTOP-K5FSUPH/D/PerforceWorkspace/MummyGolf_4.21/Intermediate/Build/IOS/MummyGolf/Shipping/MummyGolf.uhtmanifest, exit code: OtherCompilationError (5)).
UATHelper: Packaging (iOS): Took 28.5048206s to run UnrealBuildTool.exe, ExitCode=7
UATHelper: Packaging (iOS): ERROR: UnrealBuildTool failed. See log for more details. (D:\ue4-4.21.2\Engine\Programs\AutomationTool\Saved\Logs\UBT-MummyGolf-IOS-Shipping_2.txt)
UATHelper: Packaging (iOS): (see D:\ue4-4.21.2\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
UATHelper: Packaging (iOS): AutomationTool exiting with ExitCode=7 (7)
PackagingResults: Error: UnrealBuildTool failed. See log for more details. (D:\ue4-4.21.2\Engine\Programs\AutomationTool\Saved\Logs\UBT-MummyGolf-IOS-Shipping_2.txt)
UATHelper: Packaging (iOS): BUILD FAILED
PackagingResults: Error: Unknown Error
LogSlate: FSceneViewport::OnFocusLost() reason 2
LogSlate: FSceneViewport::OnFocusLost() reason 2
LogSlate: FSceneViewport::OnFocusLost() reason 2
is missing several .a files but it is not requesting these files when I use the release binaries for 4.21.2 and also I wonder why these files do not get compiled on visual studio when building the project
I am missing something here to get those files compiled or removed from the iOS packaging process?