Xcode error ExternalBuildToolExecution failed with a nonzero exit code

Hiya everyone, I’m on Mac and I’m trying to build my project from Xcode and it fails with that same error (title) every time, and this happens with all of my UE projects. Does anyone have an idea why this is happening?

Can you post a log of errors so that we can further assist you?