# 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:** 3

<div class="post-metadata">

**Author:** ![DepartureOfLight](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DepartureOfLight](https://forums.unrealengine.com/u/DepartureOfLight)\
**Post date:** [March 5, 2022, 2:57pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/41 "2022-03-05T14:57:23Z")

</div>

Worked for me over a year later! Thanks!

---

<div class="post-metadata">

**Author:** ![AlaN\_LrdE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlaN\_LrdE](https://forums.unrealengine.com/u/AlaN_LrdE)\
**Post date:** [March 16, 2022, 1:47am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/42 "2022-03-16T01:47:21Z")

</div>

Worked for me, thank you!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_16c4af60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_16c4af60](https://forums.unrealengine.com/u/anonymous_user_16c4af60)\
**Post date:** [March 16, 2022, 5:00pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/43 "2022-03-16T17:00:26Z")

</div>

xcode has to be moved to apps before using terminal

---

<div class="post-metadata">

**Author:** ![AnvayP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AnvayP](https://forums.unrealengine.com/u/AnvayP)\
**Post date:** [March 19, 2022, 2:09pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/44 "2022-03-19T14:09:05Z")

</div>

worked for me over after a year too! thanks!

---

<div class="post-metadata">

**Author:** ![the\_dracula2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@the\_dracula2](https://forums.unrealengine.com/u/the_dracula2)\
**Post date:** [March 28, 2022, 4:59pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/45 "2022-03-28T16:59:44Z")

</div>

I have the same problem but i have Xcode installed on an external drive so whats the solution?

---

<div class="post-metadata">

**Author:** ![theoldrussianbum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theoldrussianbum](https://forums.unrealengine.com/u/theoldrussianbum)\
**Post date:** [April 2, 2022, 1:20pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/46 "2022-04-02T13:20:17Z")

</div>

Worked for me perfectly. I installed Unreal and Xcode. Ran Xcode and accepted a License, then ran Terminal and executed your code snippet

---

<div class="post-metadata">

**Author:** ![MiXStiX](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MiXStiX](https://forums.unrealengine.com/u/MiXStiX)\
**Post date:** [April 8, 2022, 9:36pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/47 "2022-04-08T21:36:09Z")

</div>

I have a new Macbook Pro M1 chipset. I’ve been developing in Unreal 4 for over a year on this machine so I was surprised to receive this error.

This command seemed to work for me:  
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

---

<div class="post-metadata">

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

</div>

Another satisfied customer. Thank you!

---

<div class="post-metadata">

**Author:** ![Michelle](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/michelle/32/956502_2.png) [@Michelle](https://forums.unrealengine.com/u/Michelle)\
**Post date:** [April 19, 2022, 7:05am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/49 "2022-04-19T07:05:44Z")

</div>

it WORKS !!!  
Thanks a lot

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f265d2491](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f265d2491](https://forums.unrealengine.com/u/anonymous_user_f265d2491)\
**Post date:** [April 19, 2022, 9:20am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/50 "2022-04-19T09:20:48Z")

</div>

do you installed the xcode in your mac

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f265d2491](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f265d2491](https://forums.unrealengine.com/u/anonymous_user_f265d2491)\
**Post date:** [April 20, 2022, 6:57am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/51 "2022-04-20T06:57:05Z")

</div>

do you installed the xcode in your mac？please follow below process then start your engine.

1. install the correct version of xcode base on your Mac system version
2. move the xcode to your application folder
3. open your xcode and agree the license agreement
4. start your engine  
hope this could help you

---

<div class="post-metadata">

**Author:** ![sebgonzalez](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sebgonzalez](https://forums.unrealengine.com/u/sebgonzalez)\
**Post date:** [April 29, 2022, 3:36pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/52 "2022-04-29T15:36:22Z")

</div>

From the MacOS App Store

---

<div class="post-metadata">

**Author:** ![ethan\_gamedev](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ethan\_gamedev](https://forums.unrealengine.com/u/ethan_gamedev)\
**Post date:** [May 1, 2022, 9:49pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/53 "2022-05-01T21:49:13Z")

</div>

thank you so much, this was so frustrating and i would have never had thought to check that. so thank you you just saved me so much time

---

<div class="post-metadata">

**Author:** ![NovaNinjaNesto](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NovaNinjaNesto](https://forums.unrealengine.com/u/NovaNinjaNesto)\
**Post date:** [May 3, 2022, 9:03pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/54 "2022-05-03T21:03:34Z")

</div>

Can you do this without installing Xcode or does Xcode have to be installed??

---

<div class="post-metadata">

**Author:** ![trashcaneron](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/trashcaneron/32/484580_2.png) [@trashcaneron](https://forums.unrealengine.com/u/trashcaneron)\
**Post date:** [May 12, 2022, 2:18am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/55 "2022-05-12T02:18:37Z")

</div>

Downloading Xcode manually here: [Downloads and Resources - Xcode - Apple Developer](https://developer.apple.com/xcode/resources/)  
instead of the App Store and using the SUDO command worked for me. thx!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b84fdf14](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b84fdf14](https://forums.unrealengine.com/u/anonymous_user_b84fdf14)\
**Post date:** [May 12, 2022, 2:23am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/56 "2022-05-12T02:23:57Z")

</div>

this worked perfectly thanks for the tip, the terminal option was asking me a password and couldn’t figure what that was

---

<div class="post-metadata">

**Author:** ![mrFrei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mrFrei](https://forums.unrealengine.com/u/mrFrei)\
**Post date:** [May 12, 2022, 7:22am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/57 "2022-05-12T07:22:52Z")

</div>

Helped! Thanks!

---

<div class="post-metadata">

**Author:** ![ms21190](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ms21190](https://forums.unrealengine.com/u/ms21190)\
**Post date:** [May 15, 2022, 9:13pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/58 "2022-05-15T21:13:25Z")

</div>

Thanks very helpful!!!

---

<div class="post-metadata">

**Author:** ![BeagleRott](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BeagleRott](https://forums.unrealengine.com/u/BeagleRott)\
**Post date:** [June 8, 2022, 2:34am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/59 "2022-06-08T02:34:04Z")

</div>

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

I can confirm that this worked for me today with macOS Monterey, Unreal Engine 5.0.2 and XCode 13.4.1. Thanks!

---

<div class="post-metadata">

**Author:** ![displaynamemb](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@displaynamemb](https://forums.unrealengine.com/u/displaynamemb)\
**Post date:** [June 15, 2022, 3:42pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/60 "2022-06-15T15:42:34Z")

</div>

Did you find a solution? - Update: The solution is the one gmchandarana posted some comments below.

I have xcode on an external drive too.  
The xcode app works, but Unreal can’t find it, because it’s configured to go to the applications folder. How do we change the path on UE?

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

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