When adding new source files, for example #my_new_and_shiny_class to the filesystem and calling the service to rebuild the XCode project, UBT generates an error : my_new_and_shiny_class.generated.h not found.
This is a showstopper, because I can’t build anymore.
Can you try adding a new class to the project via the editor?
You can do this by going to your Content Browser, select the C++ Classes folder then the folder that is the same as your project, then, in the window where the other classes are, right-click → New C++ Class…
Kyle, yes I do that all the time for simple projects. Unfortunately my current project has some hundred existing files, so I can’t take this way.
Or maybe I misunderstood this - can I add multiple existing source files with this method?
Kyle, that’s what I described in my first post: “calling the service to rebuild the XCode project”.
Is this working on your machine with 4.13?
If so, I might test the behaviour with another project.
Thank you for helping.
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.
I can confirm, that a fresh project is working. My other project has some hundred files, so the failure might have a different reason - have to investigate. Thanks for helping.