Build unreal 5.1.1 from source on Mac Sonoma M3 Pro

Hello people,

I am a newbie here. My goal is to build UnrealEngine 5.1.1 using source on Macbool Pro M3 running Sonoma :-

  1. When I tried to run the setup.command file it gave me dotnet sdk missing error, I installed the required dotnet version but no luck. I then copied the Dotnet folder from the unreal engine that I installed via binary and than reran the setup.command and it worked fun.
  2. Now the next step to generate the project files fails with following error. Note I have latest Xcode 15.0.1.
Exception while generating include data for UnrealEditor: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.
Exception while generating include data for BaseTextureBuildWorker: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for BenchmarkTool: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for BlankProgram: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for BuildPatchTool: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for ChaosUserDataPTTests: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for ChaosVisualDebugger: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for CrashReportClient: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for CrashReportClientEditor: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for DatasmithUE4ArchiCAD: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for DatasmithFacadeCSharp: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for DatasmithRhino6: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for DatasmithRhino7: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for DatasmithSDK: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for EpicWebHelper: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for HeadlessChaosPerf: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for InterchangeWorker: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for LiveCodingConsole: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for LowLevelTests: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for ReplicationSystemTest: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for ShaderCompileWorker: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for DotNetPerforceLib: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for SlateUGS: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for SlateViewer: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for SwitchboardListener: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for SymsLibDump: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for TestPAL: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealFrontend: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealHeaderTool: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealInsights: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealLightmass: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealMultiUserServer: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealMultiUserSlateServer: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealObjectPtrTool: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealPackageTool: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealPak: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealRecoverySvc: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealVersionSelector: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for UnrealVirtualizationTool: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for Unsync: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for TextureShareSDK: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for BootstrapPackagedGame: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Exception while generating include data for ZenDashboard: Platform Mac is not a valid platform to build. Check that the SDK is installed properly.

Any help is appreciated.

Thank you in advance

Have you solved this problem?I’ve encountered the same problem.

Max version of Xcode supported by Unreal 5.1 is 14. So you wont be able to build it with Xcode 15.

you can check it here .
Unreal build tool 5.1

1 Like

man thank you soo much it works for me when i incareasae xcode virsion form here