# Xcode issue for Mac

**URL:** <https://forums.unrealengine.com/t/xcode-issue-for-mac/2471849>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, question\
**Created:** [April 23, 2025, 2:39pm UTC](https://forums.unrealengine.com/t/xcode-issue-for-mac/2471849 "2025-04-23T14:39:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teslagirl77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Teslagirl77](https://forums.unrealengine.com/u/Teslagirl77)\
**Post date:** [April 23, 2025, 2:39pm UTC](https://forums.unrealengine.com/t/xcode-issue-for-mac/2471849/1 "2025-04-23T14:39:06Z")

</div>

Hello. Newbie here.  
I am trying to install UE4.6 for Mac but keep hitting the error messge below which is flummoxing me. Can someone explain fairly simply what I have to do? I don’t believe Xcode is currently installed.  
Thank you.  
Teslagirl77

The message: (text) Can’t find Xcode install for Metal compiler. Please install Ecode and run Xcode app to accept licence or insure active developer directory is set to current Xcode installationusing xcode select.

 ![Screenshot 2025-04-23 at 15.24.28](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/f/8afa0d05437b9de78539c3e606198aa0dcaf46e4.png)

---

<div class="post-metadata">

**Author:** ![brs-sebascova](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brs-sebascova/32/1052483_2.png) [@brs-sebascova](https://forums.unrealengine.com/u/brs-sebascova)\
**Post date:** [April 23, 2025, 4:24pm UTC](https://forums.unrealengine.com/t/xcode-issue-for-mac/2471849/2 "2025-04-23T16:24:28Z")

</div>

Hello there @Teslagirl77!

This should be a simple fix. XCode can be installed from Apple’s App Store. Unreal uses this to compile games. Once installed, open Xcode and accept the licensing agreement, then re-open Unreal.

If the issue persists, please open Terminal and implement the following code:  
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

For any further problems, check the following threads for alternative solutions:

> [@Problem: Can't find Xcode install for Metal - See solution below](https://forums.unrealengine.com/t/problem-cant-find-xcode-install-for-metal-see-solution-below/1268258):
>
> Getting error 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 installation using “xcode-select” So I tried the most recommended fix terminal ⟶ sudo xcodebuild -license Error message ⟶ xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools insta…

> [@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!
