# Can't find Xcode install for Metal compiler

**URL:** <https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836>\
**Category:** Getting Started & Setup\
**Tags:** error, xcode-ios, unreal-engine, Installation, question\
**Created:** [January 27, 2021, 12:57am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836 "2021-01-27T00:57:43Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![Bent\_Vector](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bent_vector/32/1217513_2.png) [@Bent\_Vector](https://forums.unrealengine.com/u/Bent_Vector)\
**Post date:** [September 26, 2023, 11:31pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/82 "2023-09-26T23:31:00Z")

</div>

You need to install Xcode from the App Store (launch it and search for Xcode then click Install). See this page: [MacoS Development Requirements for Unreal Engine | Unreal Engine 5.3 Documentation](https://docs.unrealengine.com/5.3/en-US/macos-development-requirements-for-unreal-engine/), but I don’t know which version is compatible with UE 4.27 any more.

Once you have Xcode installed, you’ll need to launch it once and install the command line tools when prompted.

---

<div class="post-metadata">

**Author:** ![lordsushi11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lordsushi11](https://forums.unrealengine.com/u/lordsushi11)\
**Post date:** [October 16, 2023, 10:15am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/83 "2023-10-16T10:15:15Z")

</div>

wow it actually worked first time, thanks

---

<div class="post-metadata">

**Author:** ![Loyaltyamust](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Loyaltyamust](https://forums.unrealengine.com/u/Loyaltyamust)\
**Post date:** [November 3, 2023, 4:55pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/84 "2023-11-03T16:55:25Z")

</div>

> [@Osaka\_Blue](#):
>
> sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

that worked. thanks

---

<div class="post-metadata">

**Author:** ![unlimatemel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@unlimatemel](https://forums.unrealengine.com/u/unlimatemel)\
**Post date:** [November 18, 2023, 9:02pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/85 "2023-11-18T21:02:07Z")

</div>

Thanks alot

---

<div class="post-metadata">

**Author:** ![mayaimorales](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mayaimorales](https://forums.unrealengine.com/u/mayaimorales)\
**Post date:** [December 15, 2023, 3:56am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/86 "2023-12-15T03:56:24Z")

</div>

> [@Osaka\_Blue](#):
>
> sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

This worked for me! Thank you so much! 😀

---

<div class="post-metadata">

**Author:** ![NebulousFrank](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NebulousFrank](https://forums.unrealengine.com/u/NebulousFrank)\
**Post date:** [December 16, 2023, 10:08pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/87 "2023-12-16T22:08:55Z")

</div>

Thank you! Worked perfectly for Unreal Editor 5.3.2 after installing XCode via the App Store and running it.

---

<div class="post-metadata">

**Author:** ![ZeusX0007](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZeusX0007](https://forums.unrealengine.com/u/ZeusX0007)\
**Post date:** [January 26, 2024, 5:08am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/88 "2024-01-26T05:08:24Z")

</div>

This works for me instantly. Thank you!

---

<div class="post-metadata">

**Author:** ![kimikadze1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kimikadze1](https://forums.unrealengine.com/u/kimikadze1)\
**Post date:** [February 4, 2024, 2:20pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/90 "2024-02-04T14:20:15Z")

</div>

Worked for me, thanks!

---

<div class="post-metadata">

**Author:** ![MuhammadC](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MuhammadC](https://forums.unrealengine.com/u/MuhammadC)\
**Post date:** [February 12, 2024, 5:01am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/91 "2024-02-12T05:01:30Z")

</div>

Thanks! It worked for me. M1 MacBook Pro (Ventura 13.5.1).

---

<div class="post-metadata">

**Author:** ![WindedFlea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WindedFlea](https://forums.unrealengine.com/u/WindedFlea)\
**Post date:** [February 18, 2024, 5:58pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/92 "2024-02-18T17:58:55Z")

</div>

This worked, thanks!

---

<div class="post-metadata">

**Author:** ![Lonely\_rider89](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lonely\_rider89](https://forums.unrealengine.com/u/Lonely_rider89)\
**Post date:** [March 14, 2024, 2:34pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/93 "2024-03-14T14:34:28Z")

</div>

Hi all!

Just wanted to share my workflow on how I got it to work since I forgot to put the password in after the command in terminal…

1. Install Unreal
2. Install Xcode
3. Run Xcode and accept a License
4. Run Terminal and exec:sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
5. Enter your password in and press enter (the password is invisible so it might be confusing)
6. Run Unreal and it should work.

---

<div class="post-metadata">

**Author:** ![CaptainBeefcake](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CaptainBeefcake](https://forums.unrealengine.com/u/CaptainBeefcake)\
**Post date:** [March 20, 2024, 8:48pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/94 "2024-03-20T20:48:34Z")

</div>

Perfect. Thanks!

---

<div class="post-metadata">

**Author:** ![objectFourte](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@objectFourte](https://forums.unrealengine.com/u/objectFourte)\
**Post date:** [April 2, 2024, 6:06pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/95 "2024-04-02T18:06:40Z")

</div>

Thanks! This worked for me immediately!

---

<div class="post-metadata">

**Author:** ![ChristianZeil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChristianZeil](https://forums.unrealengine.com/u/ChristianZeil)\
**Post date:** [April 7, 2024, 11:53pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/96 "2024-04-07T23:53:18Z")

</div>

Worked for me perfectly with “sudo xcode-select -s /Applications/Xcode.app/Contents/Developer” in Terminal… with Mac 10.15 Catalina, Xcode 11.3.1, and Engine Version 4.27.2

---

<div class="post-metadata">

**Author:** ![JackJansen60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JackJansen60](https://forums.unrealengine.com/u/JackJansen60)\
**Post date:** [April 8, 2024, 8:54pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/97 "2024-04-08T20:54:59Z")

</div>

For anyone who has trouble installing Xcode because they are stuck to an older version of MacOS because their hardware doesn’t support the newest version there are two solutions:

- If you have ever gotten Xcode from the Mac App Store before: you can still download that old version: go to you account page in the App Store and download Xcode from there. It will install the latest version that is compatible with your MacOS version.
- If you have never downloaded Xcode before this won’t work for you. But you may be able to get your old hardware to run the newest version of MacOS by using Opencore Legacy Patcher (google it). I’m running Sonoma on a Mac from 2008… But: this is not for the faint of heart, and be sure to read all the warnings and check that you Mac is actually compatible.

---

<div class="post-metadata">

**Author:** ![RB\_wan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RB\_wan](https://forums.unrealengine.com/u/RB_wan)\
**Post date:** [April 13, 2024, 9:17pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/98 "2024-04-13T21:17:46Z")

</div>

> [@Osaka\_Blue](#):
>
> sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

Using the select command in xcodes works as well.

xcodes select /Applications/Xcode-15.3.0.app

You can specify sudo or it will ask for the password.

---

<div class="post-metadata">

**Author:** ![LittleCyb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LittleCyb](https://forums.unrealengine.com/u/LittleCyb)\
**Post date:** [May 29, 2024, 4:11pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/99 "2024-05-29T16:11:11Z")

</div>

Worked for me with UE 5.3.2, thanks!

---

<div class="post-metadata">

**Author:** ![kazuhaKew](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kazuhaKew](https://forums.unrealengine.com/u/kazuhaKew)\
**Post date:** [June 15, 2024, 3:27am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/100 "2024-06-15T03:27:01Z")

</div>

> [@Osaka\_Blue](#):
>
> sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

thanks you for help))))

---

<div class="post-metadata">

**Author:** ![SolitaireKK](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SolitaireKK](https://forums.unrealengine.com/u/SolitaireKK)\
**Post date:** [July 1, 2024, 7:14am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/101 "2024-07-01T07:14:33Z")

</div>

July of 2024, on a newly formatted M3pro, it still happens. Xcode from app store, unreal 5.4.2 from launcher. Why the hell is this not fixed for years?? Whenever I don’t remember the command line texts, I bookmark this page and return to ‘copy’ the line…

---

<div class="post-metadata">

**Author:** ![ggeeemm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ggeeemm](https://forums.unrealengine.com/u/ggeeemm)\
**Post date:** [July 1, 2024, 3:13pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/102 "2024-07-01T15:13:21Z")

</div>

This worked for me! Thank you!

[Previous page](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836.md?page=4)

[Next page](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836.md?page=6)
