# UE4 fails to detect Xcode11

**URL:** <https://forums.unrealengine.com/t/ue4-fails-to-detect-xcode11/462535>\
**Category:** Platform & Builds\
**Tags:** xcode, error-launch, unreal-engine, Scripting, question\
**Created:** [March 17, 2020, 1:27pm UTC](https://forums.unrealengine.com/t/ue4-fails-to-detect-xcode11/462535 "2020-03-17T13:27:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DefMihaita](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DefMihaita](https://forums.unrealengine.com/u/DefMihaita)\
**Post date:** [March 17, 2020, 1:27pm UTC](https://forums.unrealengine.com/t/ue4-fails-to-detect-xcode11/462535/1 "2020-03-17T13:27:54Z")

</div>

Hello, I am new to UE4, and I have trouble to get it running on my mac.  
I have Xcode11 installed with CLI and I tested It for c++, and it compiles a project and runs, so I think the Xcode compiler works fine.  
When I try to create a project for C++ scripting I encounter an error:

> “No compiler was found. In order to  
> use a C++ template, you must install  
> first Xcode”

I have searched on google/forums and I found only outdated old answers.  
So I figured out to ask for myself. Thanks.

---

<div class="post-metadata">

**Author:** ![DefMihaita](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DefMihaita](https://forums.unrealengine.com/u/DefMihaita)\
**Post date:** [March 17, 2020, 2:05pm UTC](https://forums.unrealengine.com/t/ue4-fails-to-detect-xcode11/462535/2 "2020-03-17T14:05:09Z")

</div>

I found a fix for this problem:

Simply run this command:

> sudo xcode-select --reset

I found it [here](https://stackoverflow.com/questions/53546320/installing-unreal-engine-on-osx-mojave)
