# UE5 newbie installation query re: Xcode error message

**URL:** <https://forums.unrealengine.com/t/ue5-newbie-installation-query-re-xcode-error-message/1235449>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [July 21, 2023, 3:51am UTC](https://forums.unrealengine.com/t/ue5-newbie-installation-query-re-xcode-error-message/1235449 "2023-07-21T03:51:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeb551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mikeb551](https://forums.unrealengine.com/u/mikeb551)\
**Post date:** [July 21, 2023, 3:51am UTC](https://forums.unrealengine.com/t/ue5-newbie-installation-query-re-xcode-error-message/1235449/1 "2023-07-21T03:51:15Z")

</div>

Hi. Could I ask your help with a first-time UE5 installation problem?  
I’ve installed Xcode and cannot open UE5. I get an error message saying I need to install Xcode. Which I have already installed.  
I tried typing this command into terminal:  
sudo xcodebuild -license  
but I don’t understand why it will not install.  
can anyone suggest how to get around this error?

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [July 21, 2023, 7:27am UTC](https://forums.unrealengine.com/t/ue5-newbie-installation-query-re-xcode-error-message/1235449/2 "2023-07-21T07:27:26Z")

</div>

Hey there @mikeb551! Welcome to the community! Are you getting this error?

`“Can’t find Xcode install for Metal compiler. Please install Xcode and run Xcode.app to accept license or ensure active developer directory is set to current Xcode installation using xcode-select.”`

Sometimes the issue itself is running Xcode once after it’s installation to accept the license.

if so, I’d take a look at this thread and it may help:

> [@Can't find Xcode install for Metal compiler](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836):
>
> Hello, I’ve just installed UE4, but it seems i can’t launch the program. When i press launch i receive the following message: “Can’t find Xcode install for Metal compiler. Please install Xcode and run Xcode.app to accept license or ensure active developer directory is set to current Xcode installation using xcode-select.” I have no idea what this means, and i can’t seem to find anything on my computer relating to “Xcode”. I hope someone can help me. Many thanks!
