# 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:** 11\
**Page:** 6

<div class="post-metadata">

**Author:** ![Xgh0stX1970](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Xgh0stX1970](https://forums.unrealengine.com/u/Xgh0stX1970)\
**Post date:** [September 26, 2024, 10:36pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/103 "2024-09-26T22:36:45Z")

</div>

3 years later, still solving the problem.

---

<div class="post-metadata">

**Author:** ![Zahtu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zahtu](https://forums.unrealengine.com/u/Zahtu)\
**Post date:** [October 10, 2024, 1:30am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/104 "2024-10-10T01:30:39Z")

</div>

Thank you!

---

<div class="post-metadata">

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

</div>

It works also with X-Code 16.1 and UE 5.4. Thanks a lot.

---

<div class="post-metadata">

**Author:** ![BusWind](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BusWind](https://forums.unrealengine.com/u/BusWind)\
**Post date:** [November 4, 2024, 7:10pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/106 "2024-11-04T19:10:39Z")

</div>

1. download Xcode in Apple Store.
2. run Xcode
3. click menu-Xcode-Settings-Locations-Select your path
4. Done!

---

<div class="post-metadata">

**Author:** ![Nonalione](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nonalione](https://forums.unrealengine.com/u/Nonalione)\
**Post date:** [February 6, 2025, 9:09pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/107 "2025-02-06T21:09:41Z")

</div>

Thank you so so so much. I have been uninstalling and installing Xcode like a trillion times back and forth. (obviously not, but felt like too many times) Your command line worked in a second. Thanks

---

<div class="post-metadata">

**Author:** ![jpchenot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@jpchenot](https://forums.unrealengine.com/u/jpchenot)\
**Post date:** [March 28, 2025, 6:48pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/108 "2025-03-28T18:48:38Z")

</div>

Worked for me. Thank you.

---

<div class="post-metadata">

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

</div>

This worked for me, thanks!

---

<div class="post-metadata">

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

</div>

MacBook PRO 14 PRO UE5 worked for me thank you

---

<div class="post-metadata">

**Author:** ![ChaoticThinker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ChaoticThinker](https://forums.unrealengine.com/u/ChaoticThinker)\
**Post date:** [June 1, 2025, 1:07am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/111 "2025-06-01T01:07:52Z")

</div>

Four years later and this is still a solid post, Thanks for the help

---

<div class="post-metadata">

**Author:** ![Sinthoraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sinthoraz](https://forums.unrealengine.com/u/Sinthoraz)\
**Post date:** [October 7, 2025, 2:23pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/112 "2025-10-07T14:23:04Z")

</div>

I installed and executed but get the following error: Xcode Metal Compiler error: error: error: cannot execute tool ‘metal’ due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain

---

<div class="post-metadata">

**Author:** ![TJDABOY30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TJDABOY30](https://forums.unrealengine.com/u/TJDABOY30)\
**Post date:** [November 18, 2025, 7:31pm UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/113 "2025-11-18T19:31:32Z")

</div>

MIne says xcodebuild -downloadComponent MetalToolchain

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