I’m trying to build UE4 from source using Xcode, and am following the GitHub readme steps. I have downloaded as a .zip, run the two .command files and opened the Xcode workspace file. I selected the ShaderCompileWorker and built that, which worked fine. However, when I try to build UE4 itself, it simply hangs at about 10% progress. I’ve left it for over 2 hours, and nothing.
This has happened multiple times. I’ve tried starting again with a fresh download of the source code. I’ve tried opening the branch in GitHub desktop rather than download a .zip. I’ve tried building 4.13 instead. Nothing seems to work, and it always hangs at this point. It must be something wrong on my end since I’ve seen reports of others successfully building with this method and this version, but I’ve tried on multiple Macs (one running El Cap, one running ) and the same thing happens.
Does anyone know what the issue might be? Or where I should start looking? I’m not familiar with Xcode at all really.
If you have not already, I suggest removing all UE4 files and starting over following the steps outlined on the following documentation pages (be sure you are on the Mac version by selecting the appropriate button at the top of the page):
I don’t know if this helps, but if you download the Unreal Engine launcher, create your C++ project from there, there is now an option to include unreal engine source code… Just a thought, it might get around that issue by avoiding any confusion in the git process
Thanks for the reply. Unfortunately I’ve tried removing all files and starting from scratch, and have even tried it with different versions of UE4 just to check, and still no luck. I’m building on 10.12.3, and tried on 10.12.2 as well.
It just seems to hang at the building stage for UE4 itself no matter what I do. I’ve allowed files to finish indexing as suggested elsewhere, and the ShaderCompileWorker builds without problem so I’m very confused.
Those are the guides I’ve been following, and it’s right when I try to build UE4 itself that I run in to issues. Oddly I don’t even receive an error, it just hangs on building and never goes anywhere even if left for hours.