Building PSUnreal on macOS: Difference between revisions

From PSwiki
Jump to navigation Jump to search
Gellule (talk | contribs)
No edit summary
No edit summary
Line 15: Line 15:


* Step 2: Get the Unreal Engine source code.
* Step 2: Get the Unreal Engine source code.
** Get the source code with: '''git clone -b 4.24.1-release https://github.com/EpicGames/UnrealEngine.git'''.
** Get the source code with: '''git clone -b 4.24.3-release https://github.com/EpicGames/UnrealEngine.git'''.
** This will create an "Unreal Engine" sub-directory where you run the command.
** This will create an "Unreal Engine" sub-directory where you run the command.



Revision as of 10:21, 7 May 2020

Reference docs

Compiling Unreal Engine

Note: As of 2020-05-05, you need 97GB of disk space for a compiled version of the Unreal Engine.

  • Step 3: Install the latest version of Xcode.
    • Install the latest version of Xcode.
  • Step 4: Prepare the Xcode workspace.
    • In the UnrealEngine directory, run the following two scripts: Setup.command and GenerateProjectFiles.command.
    • This will generate the UE4.xcworkspace Xcode workspace.
  • Step 5: Compile Unreal Engine with Xcode.
    • Load the UE4.xcworkspace into Xcode.
    • Select the ShaderCompileWorker > My Mac target in the title bar, then build with Product > Build menu item.
    • Wait for the build to complete.
    • Select the UE4 > My Mac target, and build again.
    • Compiling may take a long time, depending on your system specs.
    • After the compilation finishes, select the 'Product > Run' menu item to load the editor.

Compiling PS Unreal