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

<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:53pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/61 "2022-06-15T15:53:04Z")

</div>

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

Love you! that was it. That was just it. I have my xcode on an external drive, but it has nothing to do with it. It’s just that! Xcode \> Preferences \> Location \> Command line tools (select version)

---

<div class="post-metadata">

**Author:** ![TheZe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheZe](https://forums.unrealengine.com/u/TheZe)\
**Post date:** [June 18, 2022, 1:09pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/62 "2022-06-18T13:09:16Z")

</div>

Worked, thanks

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ba2947471](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ba2947471](https://forums.unrealengine.com/u/anonymous_user_ba2947471)\
**Post date:** [September 24, 2022, 1:05pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/64 "2022-09-24T13:05:39Z")

</div>

Thanks

---

<div class="post-metadata">

**Author:** ![headykatie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@headykatie](https://forums.unrealengine.com/u/headykatie)\
**Post date:** [October 5, 2022, 2:46am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/65 "2022-10-05T02:46:02Z")

</div>

Checking in 10/2022 - this solution still works for Unreal 5. Thanks for the hot tip!

---

<div class="post-metadata">

**Author:** ![minorcoder](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/minorcoder/32/558055_2.png) [@minorcoder](https://forums.unrealengine.com/u/minorcoder)\
**Post date:** [October 12, 2022, 11:45am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/66 "2022-10-12T11:45:18Z")

</div>

Same here - thanks for the tip!

---

<div class="post-metadata">

**Author:** ![ViolettaUEMagic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ViolettaUEMagic](https://forums.unrealengine.com/u/ViolettaUEMagic)\
**Post date:** [December 12, 2022, 4:07pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/67 "2022-12-12T16:07:41Z")

</div>

thank you so much! worked smoothly

---

<div class="post-metadata">

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

</div>

This worked for me. Thank you so much!

---

<div class="post-metadata">

**Author:** ![chinthaka019](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@chinthaka019](https://forums.unrealengine.com/u/chinthaka019)\
**Post date:** [February 19, 2023, 11:54pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/69 "2023-02-19T23:54:03Z")

</div>

Thank You! Its worked 🙂

---

<div class="post-metadata">

**Author:** ![ackermansj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ackermansj](https://forums.unrealengine.com/u/ackermansj)\
**Post date:** [March 9, 2023, 5:01am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/70 "2023-03-09T05:01:44Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![User-15f4d92db5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@User-15f4d92db5](https://forums.unrealengine.com/u/User-15f4d92db5)\
**Post date:** [March 27, 2023, 7:00pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/71 "2023-03-27T19:00:11Z")

</div>

Still works on unreal 5.1, thanks! But can someone explain, why does it work…?

---

<div class="post-metadata">

**Author:** ![david\_bicho](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@david\_bicho](https://forums.unrealengine.com/u/david_bicho)\
**Post date:** [April 8, 2023, 12:09am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/72 "2023-04-08T00:09:40Z")

</div>

And why, WHY, isn’t Epic Games hinting about this during installation? 0% of mac users know this, and 100% of mac users need it. The ones that already have Xcode doesn’t notice the demand for it, so they don’t even know this isn’t addressed by Epic Games. The only reason not to mention it must be a fully aware choice, driven by an extremely un-professional passive aggression against OSX.

Embarrising.

---

<div class="post-metadata">

**Author:** ![AronLenvig2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AronLenvig2](https://forums.unrealengine.com/u/AronLenvig2)\
**Post date:** [April 8, 2023, 12:30am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/73 "2023-04-08T00:30:40Z")

</div>

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

this helped me thanks

---

<div class="post-metadata">

**Author:** ![SAINSOFWRE](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SAINSOFWRE](https://forums.unrealengine.com/u/SAINSOFWRE)\
**Post date:** [April 21, 2023, 11:05pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/74 "2023-04-21T23:05:52Z")

</div>

thank you it worked immediately

---

<div class="post-metadata">

**Author:** ![lightroomcc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lightroomcc](https://forums.unrealengine.com/u/lightroomcc)\
**Post date:** [May 8, 2023, 3:13pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/75 "2023-05-08T15:13:09Z")

</div>

hello ı have same situation. ı tried that code but ı have  
xcode-select: error: invalid developer directory ‘/Applications/Xcode.app/Contents/Developer’. and couldn’t open ue5 . can you help me ?

---

<div class="post-metadata">

**Author:** ![StRaNgEr5289](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StRaNgEr5289](https://forums.unrealengine.com/u/StRaNgEr5289)\
**Post date:** [May 19, 2023, 4:16am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/76 "2023-05-19T04:16:57Z")

</div>

Thank you, This code worked for me

---

<div class="post-metadata">

**Author:** ![GothGirl](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gothgirl/32/921892_2.png) [@GothGirl](https://forums.unrealengine.com/u/GothGirl)\
**Post date:** [May 29, 2023, 7:16am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/77 "2023-05-29T07:16:40Z")

</div>

unreal 5.2 was working fine suddenly it said that I needed to download Xcode which already was downloaded. I un installed it and reinstalled and now its not opening to license  
agreement just the welcome open project page.

---

<div class="post-metadata">

**Author:** ![HasiHays](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HasiHays](https://forums.unrealengine.com/u/HasiHays)\
**Post date:** [June 14, 2023, 5:59pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/78 "2023-06-14T17:59:58Z")

</div>

Thanks. It worked.

---

<div class="post-metadata">

**Author:** ![oldkhaan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@oldkhaan](https://forums.unrealengine.com/u/oldkhaan)\
**Post date:** [June 25, 2023, 7:27pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/79 "2023-06-25T19:27:12Z")

</div>

i had the same problem , just open terminal and paste this line then hit your password  
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

---

<div class="post-metadata">

**Author:** ![Sam\_Spain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sam\_Spain](https://forums.unrealengine.com/u/Sam_Spain)\
**Post date:** [August 20, 2023, 7:11pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/80 "2023-08-20T19:11:05Z")

</div>

Thank you

---

<div class="post-metadata">

**Author:** ![isinf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@isinf](https://forums.unrealengine.com/u/isinf)\
**Post date:** [September 26, 2023, 4:53pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/81 "2023-09-26T16:53:29Z")

</div>

thanks, solved issue!

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

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