Xcode indexing

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).

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.

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

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.

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.

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.

1 Like
  • 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 ?

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.

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.

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.

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?

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.

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

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 :slightly_smiling_face:

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.

Super glad to hear that, thanks!

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.

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

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.

1 Like