Can't open project on Mac

Hello, I’ve an Unreal project made on PC, with C++, and I want to open this project on the mac.
I generated the XProject files with the command
But when I open the project, I have the message “The following modules are missing or built with a different engine” but I don’t have the message saying “Do you want to rebuild them?”

I tried to generate the XProject workspace with the command sh “/Users/Shared/Epic Games/UE_5.0/Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh” -project=“/Path/To/Project/TestProj/TestProj.uproject” -game -engine
But after I can’t rebuild the [GameProject]Editor either :confused: and btw the “Generate Xcode Project” option on .uproject file didn’t work

I’m not very sure about how to open an unreal project made on PC with c++ and engie plugins in Mac, what should I do ?

Hi, these commands work for me to compile and open project on mac:

Compile project (of course after generating project files with command you mentioned above):
sh "/Users/Shared/Epic Games/UE_5.0/Engine/Build/BatchFiles/RunUBT.sh" TestProj Mac Development -project="/Path/To/Project/TestProj/TestProj.uproject"

Open project in editor:
"/Users/Shared/Epic Games/UE_5.0/Engine/Binaries/Mac/UnrealEditor.app/Contents/MacOS/UnrealEditor" -project="/Path/To/Project/TestProj/TestProj.uproject"

But I didn’t test it with 5.0 - I use it in 5.4.

So the first command should recompile code or at least give you some errors if it can’t compile. You can also try to open project in xcode to recompile it after generating project files.

Edit: also you mentioned plugins, make sure all of them support mac

Thank you, indeed it might be related to plugins, when I start to build [GameName]Editor with XCode I get the error : "Module ‘Qos’ (Engine Plugins) should not reference module ‘OnlineSubsystemUtils’ (Project). Hierarchy is project → Marketplace → Engine Programs → Engine Plugins → Engine.
But I’ve already removed the line “OnlineSubsystemUtils” from the PrivateDependecyModuleNames of the Qos.Build.cs file so I don’t get why I still get that error. Is there a step I missed for my change to be applied ?

I don’t know this Qos plugin, but were you modifying an engine plugin? Maybe there are still some includes that you added to that plugin - I assume you added that dependency for a reason?

Okay actually the issue was that I had en engine plugin in my game plugins for no reasons, I removed it and it worked. Thank you for your help