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

**URL:** <https://forums.unrealengine.com/t/how-to-create-a-folder-in-c-xcode-unreal/2683287>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [December 9, 2025, 2:01am UTC](https://forums.unrealengine.com/t/how-to-create-a-folder-in-c-xcode-unreal/2683287 "2025-12-09T02:01:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Userofunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Userofunreal](https://forums.unrealengine.com/u/Userofunreal)\
**Post date:** [December 9, 2025, 2:01am UTC](https://forums.unrealengine.com/t/how-to-create-a-folder-in-c-xcode-unreal/2683287/1 "2025-12-09T02:01:16Z")

</div>

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)

---

<div class="post-metadata">

**Author:** ![Userofunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Userofunreal](https://forums.unrealengine.com/u/Userofunreal)\
**Post date:** [December 10, 2025, 7:09pm UTC](https://forums.unrealengine.com/t/how-to-create-a-folder-in-c-xcode-unreal/2683287/2 "2025-12-10T19:09:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Userofunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Userofunreal](https://forums.unrealengine.com/u/Userofunreal)\
**Post date:** [December 10, 2025, 7:58pm UTC](https://forums.unrealengine.com/t/how-to-create-a-folder-in-c-xcode-unreal/2683287/3 "2025-12-10T19:58:33Z")

</div>

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

But the original issue still continue

---

<div class="post-metadata">

**Author:** ![Userofunreal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Userofunreal](https://forums.unrealengine.com/u/Userofunreal)\
**Post date:** [December 10, 2025, 8:09pm UTC](https://forums.unrealengine.com/t/how-to-create-a-folder-in-c-xcode-unreal/2683287/4 "2025-12-10T20:09:52Z")

</div>

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.
