Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How do I build the UE4Editor.app executable on Mac?

Source-built 4.8.1-release refuses to open my project (though it works fine on Windows). All I need to open the project for is packaging so I figured I would try from the command line.

I'm running this command:

/RunUAT.sh BuildCookRun -project="/Users/nicholashughes/Documents/Unreal Projects/KingOfKalimpong/KingOfKalimpong.uproject" -noP4 -platform=Mac -clientconfig=Development -serverconfig=Development -cook -allmaps -NoCompile -stage -pak -archive -archivedirectory="/Users/nicholashughes/Desktop/kalimpong-alpha-builds/"

I get this error:

BuildCommand.Execute: ERROR: BUILD FAILED Program.Main: ERROR: AutomationTool terminated with exception: Program.Main: ERROR: Exception in AutomationScripts.Automation: Missing /Users/nicholashughes/code/piinecone/UnrealEngine/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor executable. Needs to be built first. Stacktrace: at Project.Cook (AutomationTool.ProjectParams Params) [0x00000] in :0 at BuildCookRun.DoBuildCookRun (AutomationTool.ProjectParams Params) [0x00000] in :0 at BuildCookRun.ExecuteBuild () [0x00000] in :0 at BuildCommand.Execute () [0x00000] in :0 Program.Main: ERROR: Missing /Users/nicholashughes/code/piinecone/UnrealEngine/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor executable. Needs to be built first.

I can see that there's a UE4Editor-Mac-Debug, which fits the scheme definition. How do I generate the UE4Editor that the RunUAT command is looking for?

I need to use the source version because client builds packaged from the binary version of the editor can't connect to dedicated servers built from the source version of the editor.

Product Version: UE 4.8
more ▼

asked Jun 26 '15 at 03:11 AM in Installation & Setup

avatar image

537 22 32 369

avatar image piinecone Jun 26 '15 at 04:40 AM

Perhaps it is better to just set the ue4exe flag to UE4Editor-Mac-Debug for that command?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

In my case, the solution was to set the ue4exe flag to UE4Editor-Mac-Debug, so the RunUAT command looked like this:

./RunUAT.command -ue4exe=UE4Editor-Mac-Debug

I was able to successfully package from the command line. I'll mark this as correct for now, although I'm still not sure if there should be a UE4Editor.app dir and executable or if the -Mac-Debug is right.

more ▼

answered Jun 26 '15 at 04:28 PM

avatar image

537 22 32 369

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question