Wrong path of folders in Xcode project

To reproduce:

  1. Launch UE4 Editor.
  2. New Project for C++.
  3. Open Xcode Project.
  4. Folders are red in Project Navigator.

Full path of folders include ‘/Intermediate/ProjectFiles/’.

I have the very same bug, it occurs in 4.19 preview 3 too. It’s very annoying, it prevents you from manually adding any headers or other stuff that doesn’t require a XCode Project regen. In addition, perhaps, it causes another bug with code completion that does not work very well since this bug appeared.

Please refer this: ios - red group name color - Stack Overflow

You should do the operation for every single folder in your project and every time you refresh your XCode project: very time consuming. Epic should just fix this.