# 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:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![gmchandarana](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@gmchandarana](https://forums.unrealengine.com/u/gmchandarana)\
**Post date:** [July 24, 2021, 9:03am UTC](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836/19 "2021-07-24T09:03:33Z")

</div>

I solved this in the following way…

1. Open Xcode
2. Go to Xcode preferences (CMD+,)
3. Find the _Location_ tab
4. In the last drop down (Command line tools), select the appropriate Xcode version. In my case no version was selected and that was casuing the issue.

_Note: The terminal method shown in other answers does the same thing._

---

_[View the full topic](https://forums.unrealengine.com/t/cant-find-xcode-install-for-metal-compiler/477836)._
