I installed UE5 on my mac, but when I tried to open it, I got a message saying: “Can’t find Xcode install for Metal compiler. Please install Xcode and run Xcode.app to accept license or insure active developer directory is set to current Xcode installation using Xcode select.” I have no idea what this means, and I can’t open the program!
Assuming it’s installed through the app store, run this: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
. Replace path if yours differs of course.
Thanks for your help. I got it (UE5) from the Epic Games site. I don’t know how to “run this” (especially on a Mac) I don’t know from “apps”, I’m a PC person mainly, so I know “programs”. I have tried to install it on my PC, but it says I don’t have enough room on my HDD. I’m working on this, but presumably I’ll get the same message after installing it and trying to run it on my PC. Thanks, though!
Ah so it’s a terminal command, but copy pasting and running random blocks of shell code usually isn’t a good idea!
You would have to open terminal, then paste that in. It’s a sudo
command, which means super user, so it would ask you to authenticate, and then with some luck, UE should start working
The issue is that UE is trying to find XCode using a specific reference, that is not set on your Mac currently. XCode is a Mac only thing, so you wouldn’t see this error message there. You may see another one though!
Thanks! I don’t know how to “open terminal”. I know how to copy and paste. Not sure what’s meant by “authenticate”. Could you possibly give me the steps, in order, to accomplish what you describe above? This brings up another, related question (especially regarding my PC, but in general as well…): Can UE5 be installed, and run, from an external SSD?
I had the same issues on my M1 MacBook pro. here is the solution. there is an app in the app store called x developer tools. you need to download this and install it. (takes a while) then when it is down-loaded open it and accept all the permissions. go to your finder and search for “terminal” the little window will pop up. enter the line of code that was listed above. it will then ask you for your password. you won’t see the typing going in but it is getting the password so don’t panic. hit enter once that is entered. your computer will need a restart after the permissions and Xcode. so restart and then open up the unreal engine launcher and launch the program and it works. hope this helps. I had to find the workaround myself. there is a video on youtube re the terminal step if you are unsure. so google that and watch it:) have a good one!