Convert C++ Project to Blueprint

I accidentally added a C++ class to my blueprint project and now I can’t export to iOS from Windows. I deleted the C++ and header files, deleted the appropriate folders, right clicked on the project file and generated visual studio files. I understand that is the proper way to get rid of a C++ class.

Now I get the “exporting code based projects on Windows is not yet supported” error despite the entire project being blueprint-based. Is there anything I can do to tell UE4 that it is a blueprint project?

Can you please check my blog post i just made inspired from your question and report back :slight_smile:

1 Like

Hey thanks so much for the detailed reply! I’m going to try that out a bit later tonight when I have a moment. There seem to be lots of people asking to go Blueprint->C++ but not the other way around. I’ll come back and mark this as the correct answer if it works.

Ok so I followed your instructions and it unfortunately broke the project. After removing the modules in the uproject file with notepad I receive the following error when I try and open the project:

87295-untitled.png

I tried right clicking and generating visual studio project files but it gives me the same error.

It does seem to be an issue with the Source folder I think. When I delete it, I don’t get the error from UE4 telling me I can’t export code-based projects to iOS. However, Once the source folder is deleted, I receive an unknown build error when I try and export to iOS or Android.

Please let me know if you have any more suggestions!

This worked perfectly for me, Thanks

I have the same exact problem. Is there any solution?

Working! Thanks.

I see this was quite some time ago, but perhaps it will help some people who got here. I had an extra comma at the end. Deleting that solved the issue