Command /Users.../BatchFiles/Mac/ failed with exit code 5

I use macOS 10.14.3, Xcode 10.1. I’ve downloaded the UE4 source code from GitHub. I want to run in Xcode. But, after I build, the error came.

I‘ve searched the Internet for a solution, such as changing the schemes, but I don’t have UE4editor or UE4game to be chosen.

I am very grateful for any help.