# Xcode indexing

**URL:** <https://forums.unrealengine.com/t/xcode-indexing/434480>\
**Category:** C++\
**Tags:** xcode-ios, UE4-19, unreal-engine, editor, UE4, CPP, question\
**Created:** [September 26, 2018, 12:15pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480 "2018-09-26T12:15:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheKillingThumbs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKillingThumbs](https://forums.unrealengine.com/u/TheKillingThumbs)\
**Post date:** [September 26, 2018, 12:15pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/1 "2018-09-26T12:15:56Z")

</div>

Hi, I just created a new project with starter content in Unreal. It started Xcode and it’s stuck on indexing. Both Unreal and Xcode are fresh installs. Unreal version is 4.19 and Xcode version is 10. Can anyone help me explain what’s going on? Just running Xcode and Unreal editor without doing anything is using 95% of my ram. (8gb ram).

---

<div class="post-metadata">

**Author:** ![LOUUUUUUUUUUUUUU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LOUUUUUUUUUUUUUU](https://forums.unrealengine.com/u/LOUUUUUUUUUUUUUU)\
**Post date:** [September 30, 2018, 12:22am UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/2 "2018-09-30T00:22:39Z")

</div>

I am having a similar issue with 4.19/xcode 10. xcode will be indexing using a reasonable amount of memory (for hours) however at some point it will begin to use all the available memory eventually crashing osx.

---

<div class="post-metadata">

**Author:** ![Nexelen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nexelen](https://forums.unrealengine.com/u/Nexelen)\
**Post date:** [September 30, 2018, 9:05am UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/3 "2018-09-30T09:05:23Z")

</div>

The same issue UE4.20, Xcode 10, MBP 15 2017.

---

<div class="post-metadata">

**Author:** ![TheDreamCatcher](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/thedreamcatcher/32/727178_2.png) [@TheDreamCatcher](https://forums.unrealengine.com/u/TheDreamCatcher)\
**Post date:** [September 30, 2018, 12:02pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/4 "2018-09-30T12:02:50Z")

</div>

indexing takes a looooong time in xcode, it looks like it’s stuck but in fact it’s not. It’s will take some time to finish but it will at some point.

---

<div class="post-metadata">

**Author:** ![TheKillingThumbs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKillingThumbs](https://forums.unrealengine.com/u/TheKillingThumbs)\
**Post date:** [September 30, 2018, 5:14pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/5 "2018-09-30T17:14:55Z")

</div>

Indexing was trying to use more than 8G ram on my device (activity monitor showed that). It felt like stuck, I ended up installing visual studio code.

---

<div class="post-metadata">

**Author:** ![TheKillingThumbs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKillingThumbs](https://forums.unrealengine.com/u/TheKillingThumbs)\
**Post date:** [September 30, 2018, 5:15pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/6 "2018-09-30T17:15:23Z")

</div>

Indexing was trying to use more than 8G ram on my device (activity monitor showed that). It felt like stuck, I ended up installing visual studio code.

---

<div class="post-metadata">

**Author:** ![Poiipoii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poiipoii](https://forums.unrealengine.com/u/Poiipoii)\
**Post date:** [October 1, 2018, 9:32am UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/7 "2018-10-01T09:32:19Z")

</div>

- MacOs Mojave
- UE 4.20.3
- Xcode 10  
-VSCode 1.27.2 (1.27.2)

I did the same and installed VSCode for the same reason of indexing.  
I added several extensions to VSCode but it still keeping showing erros :  
“CoreMinimal.h” file not found  
expected a ‘;’  
his declaration has no storage class or type specifier

Any help on setting up VSCode for UE4 ?

---

<div class="post-metadata">

**Author:** ![TheKillingThumbs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKillingThumbs](https://forums.unrealengine.com/u/TheKillingThumbs)\
**Post date:** [October 1, 2018, 3:16pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/8 "2018-10-01T15:16:58Z")

</div>

VScode didn’t really need a lot of installation or anything. I suggest use easyfinder app to find CoreMinimal.h, maybe it’s in the wrong location. If you do find it, open it in the editor and check for errors.

I had an extra copy of windows so I used bootcamp and installed windows. I am now working on visual studio. Visual studio code works as well, I just needed a compiler because I am relatively new to coding.

---

<div class="post-metadata">

**Author:** ![LOUUUUUUUUUUUUUU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LOUUUUUUUUUUUUUU](https://forums.unrealengine.com/u/LOUUUUUUUUUUUUUU)\
**Post date:** [October 1, 2018, 3:25pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/9 "2018-10-01T15:25:32Z")

</div>

Yeah I am doing this as well. Additionally using VScode to build the engine/dedicated server is much more complicated and seemed way over my head.

---

<div class="post-metadata">

**Author:** ![TheKillingThumbs](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TheKillingThumbs](https://forums.unrealengine.com/u/TheKillingThumbs)\
**Post date:** [October 1, 2018, 3:36pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/10 "2018-10-01T15:36:43Z")

</div>

If you are going to use an external drive to store your files, just a heads up, visual studio installs some of its files in the C drive for windows, so leave some space for that.

---

<div class="post-metadata">

**Author:** ![mgy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mgy/32/1105802_2.png) [@mgy](https://forums.unrealengine.com/u/mgy)\
**Post date:** [September 6, 2023, 8:12pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/11 "2023-09-06T20:12:56Z")

</div>

2023, UE5.2.1, UE5.3 still issue exist. VSCode is not an ideal IDE on macOS; Xcode is the weapon of choice. However the indexing issue persists, and there is no solution so far. The Rider is not free. What is the solution for macOS users? Is anyone an expert on this topic?

---

<div class="post-metadata">

**Author:** ![EblenMacari](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eblenmacari/32/749610_2.png) [@EblenMacari](https://forums.unrealengine.com/u/EblenMacari)\
**Post date:** [September 7, 2023, 4:09pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/12 "2023-09-07T16:09:08Z")

</div>

> [@Xcode Autocomplete Not Working](https://forums.unrealengine.com/t/xcode-autocomplete-not-working/486180/2):
>
> I can assert that this has been fixed on UE 5.3. Using Xcode 15 beta with macOS Sonoma, and everything is working perfect. Autocomplete is back even when indexing isn’t finished, and it is not taking up all the RAM. Thanks Epic, this was long overdue.

---

<div class="post-metadata">

**Author:** ![mgy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mgy/32/1105802_2.png) [@mgy](https://forums.unrealengine.com/u/mgy)\
**Post date:** [September 7, 2023, 6:04pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/13 "2023-09-07T18:04:50Z")

</div>

> [@Xcode Autocomplete Not Working](https://forums.unrealengine.com/t/xcode-autocomplete-not-working/486180/2):
>
> Xcode 15

I haven’t tried on the Xcode 15. I’ll wait for the release version. But thank you for the informing! That means it’s not related to the UE versions, it’s Xcode itself. Good to hear that.

---

<div class="post-metadata">

**Author:** ![EblenMacari](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eblenmacari/32/749610_2.png) [@EblenMacari](https://forums.unrealengine.com/u/EblenMacari)\
**Post date:** [September 7, 2023, 6:29pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/14 "2023-09-07T18:29:07Z")

</div>

I think is a combination of both, cause UE 5.2 with Xcode 15 will do the classic no autocomplete/indexing forever.

---

<div class="post-metadata">

**Author:** ![mgy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mgy/32/1105802_2.png) [@mgy](https://forums.unrealengine.com/u/mgy)\
**Post date:** [September 7, 2023, 9:39pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/15 "2023-09-07T21:39:04Z")

</div>

It could be. I’m not an expert. If you’ll try the UE5.2 + Xcode15 combination please let the community know the results. Thank you for your answer 🙂

---

<div class="post-metadata">

**Author:** ![EblenMacari](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eblenmacari/32/749610_2.png) [@EblenMacari](https://forums.unrealengine.com/u/EblenMacari)\
**Post date:** [September 7, 2023, 9:45pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/16 "2023-09-07T21:45:03Z")

</div>

Xcode 15 and 5.2 is not working, the way that UE 5.3 generates the projects I think is the game changer. It separates iOS and macOS. they also have removed a couple of headers and some other stuff according to the release notes.

Gonna try later on Ventura with Xcode 14 and an Intel Mac, and see how it goes. So we can rule out Xcode and narrow it to UE 5.3.

---

<div class="post-metadata">

**Author:** ![mgy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mgy/32/1105802_2.png) [@mgy](https://forums.unrealengine.com/u/mgy)\
**Post date:** [September 7, 2023, 10:14pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/17 "2023-09-07T22:14:12Z")

</div>

Super glad to hear that, thanks!

---

<div class="post-metadata">

**Author:** ![EblenMacari](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eblenmacari/32/749610_2.png) [@EblenMacari](https://forums.unrealengine.com/u/EblenMacari)\
**Post date:** [September 8, 2023, 1:05am UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/18 "2023-09-08T01:05:40Z")

</div>

Xcode 14 and macOS Ventura 13.5.2, works as well. At first it will throw some error but sooner or later they will be gone or building the project, autocomplete and indexing 100%. Now it is possible to use Xcode Intel/AppleSilicon.

Same with Xcode 15 beta.  
All this on Intel.

As stated before It was flawless with Apple Silicon Xcode 15 and Sonoma.

So I can conclude that UE 5.3 fixes the whole Xcode thing.

---

<div class="post-metadata">

**Author:** ![mgy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/mgy/32/1105802_2.png) [@mgy](https://forums.unrealengine.com/u/mgy)\
**Post date:** [September 8, 2023, 11:02pm UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/19 "2023-09-08T23:02:58Z")

</div>

Eventually, I was able to see Xcode working, but there was a huge BUT. It took 3 Hours and 21 minutes to finish indexing.

- Apple Silicon
- macOS Ventura 13.5.2
- Xcode 14.3.1
- UE5.3

3 Hours and 21 Minutes in total.

I’ve been using Xcode for more than a decade, never seen this before, even in big projects. Rider was able to index the in a minute the same project. Still, something missing here. Because I can delete the Derived Data directory at some point for some other reason, do I need to wait 3.5 hours again: Yes.

Thank you for helping @EblenMacari

---

<div class="post-metadata">

**Author:** ![EblenMacari](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eblenmacari/32/749610_2.png) [@EblenMacari](https://forums.unrealengine.com/u/EblenMacari)\
**Post date:** [September 12, 2023, 2:13am UTC](https://forums.unrealengine.com/t/xcode-indexing/434480/20 "2023-09-12T02:13:43Z")

</div>

Yes, It takes hours indeed, but I guess it is better than nothing, specially for us that we are used to work with Xcode. I hope it keeps getting better, I like Rider or VsCode, but TBH the most natural place to be the developing for Mac/iOS is Xcode, the tools and the ability now to use Swift and C++ will help a lot. The only reason I would still in VSCode would be when doing test in Windows I am using the same IDE.

Been doing this test since 4.15, at some point 4.18 and 4.27 worked as well, but this is for sure the more “Stable” setup, and It works better on silicon.

My pleasure, let’s keep testing and see how it goes with every iteration.

[Next page](https://forums.unrealengine.com/t/xcode-indexing/434480.md?page=2)
