An error occurred while trying to generate project files.

Setting up bundled DotNet SDK

/Users/Shared/Epic Games/UE_5.1/Engine/Build/BatchFiles/Mac/…/…/…/Binaries/ThirdParty/DotNet/6.0.302/mac-x64

Running dotnet Engine/Binaries/DotNET/UnrealBuildTool/UnrealBuildTool.dll -projectfiles -project=/Users/Documents/Unreal Projects/Demo/Demo.uproject -game -rocket -progress

A conflicting instance of UnrealBuildTool is already running.

Step to reproduce error
Games->Blank, C++, Platform (Mobile/Desktop), Quality Preset on Both, Enable or Disable Starter Content-> Create
error occurred while clicking on create button
I’m using Mack Book Pro with Xcode.

Please help me out to resolve this issue I am new in Unreal Engine and Not able to create C++ project.

I’m experiencing the same thing. Can create a blueprint project just fine, but if I attempt to generate an xcode project files or start a C++ project, I get the same error.

Apple M1 Pro
12.4 Monterey

I had the same error because I was trying to initialise a new project on an external Hard Drive. Worked on my internal HDD.