C++ project compiles with Xcode but won’t open.

I accidentally added c++ to my project so deleted all the c++ files out of my folder and generated an Xcode project. I than successfully built my project in Xcode many times and tried to open the project via ue4 again but it won’t work. It still says rebuild from source, what do I do?

Did you add a plugin? Can you start the engine, how far does it go?

I have added plugins from ue4 marketplace, and I can’t open the project at all. I decided to create a new project and copy and paste but there’s one problem. My main map which is use for my game and has code in it won’t import over. That’s the only thing that won’t import so now I’m stuck again. Everything else was successfully transferred to a new project.