Error "Project could not be compiled" when opening project from Windows in MacOS

Hi everyone,

I’m trying to open a project that I developed on a Windows machine on my MacBook. It’s a simple VR project, and I wanted to try it with Apple Vision Pro.

I copied the project over (excluding the Intermediate, Saved, and Build folders). Then, on macOS, I ran the GenerateProjectFiles script again. This process created four .xcworkspace files (for Mac, iOS, tvOS, and VisionOS). I then built the project using Xcode (using the Mac .xcworkspace file). The build was successful and completed without any errors.

However when I try to open the Project double clicking .ueproject, a fester pop’s up:
Bildschirmfoto 2024-08-18 um 13.01.21

And when I click yes, get this:
Bildschirmfoto 2024-08-18 um 13.01.57

Even though I have already rebuilt it, I still keep getting the same error. I tried starting from scratch, but the issue persists.

Does anyone have any idea what the problem might be and how to solve it? Unfortunately, I haven’t been able to find any solutions online so far.

I’m using Unreal Engine 5.4, built from source with Xcode 15.3.

You should compile from Xcode the project. In order to do that, open the XCworkspace (Mac) you can find on your project folder and compile the Engine>>UnrealEditor(Mac) on the left column.