# Xcode was not detected on this Mac

**URL:** <https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282>\
**Category:** Platform & Builds\
**Tags:** xcode, metal, Macos, unreal-engine, UE4, question\
**Created:** [August 23, 2019, 5:44am UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282 "2019-08-23T05:44:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_aeb72e9d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_aeb72e9d](https://forums.unrealengine.com/u/anonymous_user_aeb72e9d)\
**Post date:** [August 23, 2019, 5:44am UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/1 "2019-08-23T05:44:16Z")

</div>

Hello. I installed Unreal Engine 4 on macos today.

When I run the editor, the following message is displayed.  
285648-  
I have installed xcode. even reinstalled it.

Please let me know how to solve this message.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ac988a2c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ac988a2c](https://forums.unrealengine.com/u/anonymous_user_ac988a2c)\
**Post date:** [October 11, 2019, 1:35pm UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/2 "2019-10-11T13:35:34Z")

</div>

Having the same issue, can’t seem to find a fix

---

<div class="post-metadata">

**Author:** ![Olivier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olivier](https://forums.unrealengine.com/u/Olivier)\
**Post date:** [November 6, 2019, 10:40am UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/3 "2019-11-06T10:40:21Z")

</div>

I had the same despite Xcode being installed. It happened because I hadn’t accepted the Apple Developer Program License Agreement in the [Apple Developer Portal][1]

If you login into the portal with your Apple username and password you should see this:

 ![291884-appledevprogramlicense.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/e/7ae2c581955b4b2fc5dfee12bd05af5f848e2689.png)

PS You won’t see this message if you don’t have a Apple Developer Program membership (You need one to be able to build for MacOS/iOS)

---

<div class="post-metadata">

**Author:** ![Olivier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Olivier](https://forums.unrealengine.com/u/Olivier)\
**Post date:** [November 6, 2019, 10:46am UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/4 "2019-11-06T10:46:22Z")

</div>

You also need to point to the correct Xcode install run `xcode-select -r` in a terminal to reset it to the default

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a58810d2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a58810d2](https://forums.unrealengine.com/u/anonymous_user_a58810d2)\
**Post date:** [November 17, 2019, 7:29pm UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/5 "2019-11-17T19:29:00Z")

</div>

On Mac, I didn’t have xcode installed when I installed unreal. So I had to install xcode and then uninstall and reinstall unreal. It seems that xcode needs to be installed before you install unreal.

---

<div class="post-metadata">

**Author:** ![Interiors\_Dani](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Interiors\_Dani](https://forums.unrealengine.com/u/Interiors_Dani)\
**Post date:** [January 17, 2020, 12:43pm UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/6 "2020-01-17T12:43:04Z")

</div>

Hi! I have the same problem and hope to get here some help…I am not developer and I’ve just installed UE because I wanted to use it for architecture/design not games. So I have no knoledge about Xcode and those answers above are not really helpfull for me…is there any way to solve the problem with easy steps and not to have to learn for ages about Xcode and so on…I would really appreciate your help.  
Thank you in advance and nice regards!

---

<div class="post-metadata">

**Author:** ![ignuf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ignuf](https://forums.unrealengine.com/u/ignuf)\
**Post date:** [April 26, 2021, 3:00pm UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/7 "2021-04-26T15:00:18Z")

</div>

having the same issue, it be great if the message could go a little further in explaining step by step what to do. I have no idea how to "set active developer to current Xcode installation " …

---

<div class="post-metadata">

**Author:** ![Dr.SAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dr.SAP](https://forums.unrealengine.com/u/Dr.SAP)\
**Post date:** [May 9, 2021, 5:35pm UTC](https://forums.unrealengine.com/t/xcode-was-not-detected-on-this-mac/454282/8 "2021-05-09T17:35:51Z")

</div>

maybe open your .uproject with text editor and change:

“Name”: “XCodeSourceCodeAccess”,  
“Enabled”: false

to

“Name”: “XCodeSourceCodeAccess”,  
“Enabled”: true
