Mac remote build fails 5.5

Hello, I try to remote build on Mac from windows on version 5.5.1 and I get this error:
Using Parallel executor to run 14 action(s)
UATHelper: Packaging (Mac): ------ Building 14 action(s) started ------
UATHelper: Packaging (Mac): [1/14] Copy libboost_chrono-mt-a64.dylib
UATHelper: Packaging (Mac): [2/14] Copy libboost_atomic-mt-a64.dylib
UATHelper: Packaging (Mac): [3/14] Copy libboost_filesystem-mt-a64.dylib
UATHelper: Packaging (Mac): [4/14] Copy libboost_iostreams-mt-a64.dylib
UATHelper: Packaging (Mac): [5/14] Copy libboost_system-mt-a64.dylib
UATHelper: Packaging (Mac): [6/14] Copy libboost_thread-mt-a64.dylib
UATHelper: Packaging (Mac): [7/14] Copy libboost_program_options-mt-a64.dylib
UATHelper: Packaging (Mac): [8/14] Copy libboost_regex-mt-a64.dylib
UATHelper: Packaging (Mac): [9/14] Copy libboost_python311-mt-a64.dylib
UATHelper: Packaging (Mac): [10/14] Compile [Intel] MiMalloc.c
UATHelper: Packaging (Mac): …/Source/Runtime/Core/Private/Thirdparty/MiMalloc.c:24:10: fatal error: ‘static.c’ file not found
UATHelper: Packaging (Mac): include <static.c>
UATHelper: Packaging (Mac): ^~~~~~~~~~
UATHelper: Packaging (Mac): 1 error generated.

Also if I comment out that line I get another error: /Binaries/ThirdParty/Apple/MetalShaderConverter/Mac/libmetalirconverter.dylib not found

I checked that directory and the packaging process doesn’t sync /Binaries/ThirdParty/Apple/MetalShaderConverter/Mac/ ,the file is indeed missing.

Mac development has been a nightmare so far for me. Any help would be greatly appreciated.

UPDATE: I was able to get past this error by including

/Source/ThirdParty/mimalloc/** in my rsync folder (UnrealEngine\Engine\Build\Rsync\RsyncEngine.txt)

BUT I get a new error…
(Tried Modernized Xcode and Legacy but I get the same exact error)

DirectoryNotFoundException: Could not find a part of the path.
at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath, Boolean _)
at System.IO.FileSystem.MoveDirectory(String sourceFullPath, String destFullPath)
at AutomationTool.InternalUtils.SafeRenameDirectory(String OldName, String NewName, Boolean bQuiet, Boolean bRetry, Boolean bThrow) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 297
at AutomationTool.CommandUtils.RenameDirectory(String OldName, String NewName, Boolean bQuiet, Boolean bRetry) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\CommandUtils.cs:line 704
at MacPlatform.ProcessArchivedProject(ProjectParams Params, DeploymentContext SC) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\Mac\MacPlatform.Automation.cs:line 472
at AutomationScripts.Project.Archive(ProjectParams Params) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\ArchiveCommand.Automation.cs:line 72
at BuildCookRun.DoBuildCookRun(ProjectParams Params) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 256
at BuildCookRun.ExecuteBuild() in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\Scripts\BuildCookRun.Automation.cs:line 43
at AutomationTool.BuildCommand.Execute() in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 372
at AutomationTool.BuildCommand.ExecuteAsync() in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\BuildCommand.cs:line 381
at AutomationTool.Automation.ExecuteAsync(List1 CommandsToExecute, Dictionary2 Commands) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 284
at AutomationTool.Automation.ExecuteAsync(List1 CommandsToExecute, Dictionary2 Commands) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 308
at AutomationTool.Automation.ProcessAsync(ParsedCommandLine AutomationToolCommandLine, StartupTraceListener StartupListener, HashSet`1 ScriptModuleAssemblies) in C:\DEV\UnrealEngine\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 168

Tried remote build on 2 different MACs and also on one completely fresh project… But still the same error.

Cook command time: 692.92 s
UATHelper: Packaging (Mac): ********** COOK COMMAND COMPLETED **********
UATHelper: Packaging (Mac): ********** STAGE COMMAND STARTED **********
UATHelper: Packaging (Mac): Creating Staging Manifest…
UATHelper: Packaging (Mac): System.IO.DirectoryNotFoundException: Could not find a part of the path ‘…-Mac-Shipping.app\Contents\Resources\AppIcon.icns’.

And after I manually place an AppIcon.icns file there I always get:

********** PACKAGE COMMAND STARTED **********
UATHelper: Packaging (Mac): Package command time: 0.00 s
UATHelper: Packaging (Mac): ********** PACKAGE COMMAND COMPLETED **********
UATHelper: Packaging (Mac): ********** ARCHIVE COMMAND STARTED **********
UATHelper: Packaging (Mac): Archiving to C:/…Project/Builds
UATHelper: Packaging (Mac): System.IO.DirectoryNotFoundException: Could not find a part of the path.