How to create a folder in C++ XCODE unreal?

How to create a sub folder under the C++ main folder ? unlike in blueprints project, i dont have the option in C++ project in a regular 5.7.1 install

I can create one in the Xcode but after using the tools → Refresh Xcode project it will disappear from xcode (while never appeared in the editor at all)

Xcode and OS is up to date (os15.7.2)

Asking grok tried to make UE5 editor and xcode sync i deleted Intermediate, Saved and Binaries

And now i get this message when trying to open the project:

”The following modules are missing or built with a different engine version:

MyTestProject

Would you like to rebuild them now?”

When i press Yes it gives another error :

“MyTestProject could not be compiled. Try rebuilding from source manually.”

How to fix this?

Manage to get it working by using the main UE director to build the editor in terminal

But the original issue still continue

Ok this might save someone in the future, otherwise i would not write this

After this line manage to save the editor from unable to be opened:

sh “/Users/Shared/Epic Games/UE_5.7/Engine/Build/BatchFiles/Mac/GenerateProjectFiles.sh” -project=“/Volumes/MyDisk/UnrealProjects/MyTestProject.uproject” -game -engine

Then i rebuild it by opening the project file (it fail before as i mentioned) . this time it did rebuild.

And after this rebuild the files are sync

All that happen just because i created a C++ Actor while the build was not able to be build because of a typo in xcode. its fragile beyond imagine.