I’ve been trying to get the Strategy Game Sample to work on a Mac with XCode. I first had a problem related to when generating the project files from the .uproject file it misses a key argument in the build settings, found in the .xcodeproject.
After resolving this by manually changing the .xcodeproject settings, the project compiled (I’m assuming there’s a better way to make sure this always updates correctly from generating project files from the .uproject). However the next problem has been that the Editor will not run as it comes up with the following message:
This is wrong and not only is the .uproject incorrect but the path is wrong aswell. Where can I update where it receives the path and filename of the descriptor file that it wants? and also where can I add in this missing build tool argument so that the generate xcode files automatically adds this, like it does if I make other code projects from scratch.
How exactly did you generate the Xcode project (.uproject’s right click menu, terminal, etc.). The more details you can give me, the faster I’ll be able to help.
right click on the .uproject->services->generate xcode project files.
generation of the project files doesn’t report any errors, it just feels like it hasn’t been able to move the project over to a bespoke one completely. I can get any other code projects to work just fine, but the sample here doesn’t like the generation of project files. I also can do this one on windows with no problem on Visual Studio.
I’ve tried this on two different Macs and this behaviour seems pretty replicable.
Yeah, just tried it. Apparently we have a bug and setting a custom name for a project created from the vault doesn’t work properly
Sorry about that. I’ll look into this. At the moment I’m unsure where the problem lies. The only workaround I can think of for now is to create a new project and use default name - StrategyGame.
Ah, that’s good to know though, I’d have probably have spent a lot of time bashing head against it trying to get it to work otherwise. Let us know if you find an easier workaround, I’m not completely adverse to the currently suggested one, but I’ll hold off for a bit.
Looks like it’s not as bad as I feared. It should work OK if you go to Edit Scheme for StrategyGameEditor - Mac, switch to Arguments tab and replace StrategyGame argument with full path (quoted) to your .uproject file.
I will fix Xcode project generator to handle this properly.