Shooter Game (Compile Exit Code 5)

Hey guys, I’m having trouble compiling my code for the Shooter Game example.

I’m using 4.10.0 built from source, Xcode 7.2.1 and I’m on El Capitan 10.11.3. The Shooter Game version is for 4.10.2.

When I compile UE4 → My Mac , everything works fine.

When I compile ShooterGame → My Mac , I get the following message:

-------- End Detailed Actions Stats -----------------------------------------------------------
ERROR: UBT ERROR: Failed to produce item: /Users/filipeduarte/Documents/Unreal Projects/ShooterGame/Binaries/Mac/UE4Editor-ShooterGame-9343.dylib
Total build time: 72.85 seconds
Command /Users/filipeduarte/Downloads/UnrealEngine-4.10/Engine/Build/BatchFiles/Mac/Build.sh failed with exit code 5

I went to the folder where the binaries for the game are and there’s no UE4Editor-ShooterGame-9343.dylib, there’s only a UE4Editor-ShooterGame.dylib and a bunch of other LoadingScreen dylibs.

I read that I should build the binaries, how do I do that? Cheers!

try this: