When I use the service to rebuild the XCode project (rebuild is needed when files have been added), the GenerateProjectFiles.sh responds with:
Setting up Unreal Engine 4 project files…
MSBUILD: error MSBUILD0000: Project file ‘…/…/…/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj’ not found.
Just create a blank C++ project and try out.
I’m having some other problems with the sync of files, for example not finding my GameInstance and I’m not sure, if its related to this error.
What exactly do you mean by “using the service to rebuild…”? When I create a new project and add a code class based on actor, I can then build the project solution in XCode pressing the play button successfully. Can you provide any additional information on what exactly you’re doing after creating a new blank C++ project?
I can confirm, that …/…/…/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj doesn’t exist on my machine.
I still have trouble with the build. I need to manually delete binaries and intermediates, otherwise the engine is ignoring my modified project and loads an older version.
I’m not using XCode clean any more, because as other’s have confirmed, that will destroy the engine install and would need a Verify.
Thank you, I didn’t realize you were doing this from the project directory. I have entered a bug report for the failed update to the XCode project, UE-31863 , for further investigation.
The bug is far less serious than it looks - the project is generated correctly. GenerateProjectFiles script prints the error that it couldn’t build UnrealBuildTool, but then it carries on and uses UnrealBuildTool that we distribute with the engine. The error will be gone in 4.13.
This post was specifically related to Services->Generate XCode Project failing with the error provided by rotwang. If you’re having issue packaging your project, it may be best to create a new post with as much detailed information as possible.