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

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.