[Closed] Building game binaries for IOS
I'm building an IOS/Android mobile game and it's mostly a content only project but with a small amount of native code (so we've had to build our own binaries).
I'm aware that you can't build IOS binaries on windows though, so purchased a Mac mini to generate the IOS binaries on (the idea is not to work on the Mac, just to generate the binaries once and return to deploying on PC; we almost never change the code). The Mac is running OS X Yosemite (10.10.4) and is a 2.4GHz Intel core 2 Duo, 4GB of ram and an Nvidia GeForce 320M (256MB). I also installed Xcode on it.
I managed to generate the certificate, mobile provision and key outside of Xcode and that all works fine (plugging them into the IOS project settings on PC). But I have NO idea how to go about generating an IOS binary. I've been doing some reading and there's a lot of material out there about downloading the engine source and doing a remote build of the whole thing on the Mac (which is overkill here), but I can't find a straight forward solution for just building the game code specifically.
I installed Unreal 4.8.3 on the Mac and ran the editor (which worked fine and I could create a new project). I also managed to connect to our SVN server in Xcode and download our project onto the Mac. When I open up the .uproject though, it immediately says that "UE4Editor-Game.dylib does not exist", I allow it to compile it (it opens up a console and I can see it building our game module), but then the editor immediately crashes:
I've also tried moving this compiled .dylib to the PC to see if I can use it to run the game on IOS, but it just crashes the IOS run tool too.
I'm presuming if it didn't crash on the Mac, I could run the game on IOS there and then check in the resulting binaries? If so, I need to work out why the Mac is crashing and I'll hopefully have a working solution.
If not, is there a way to simply compile the project on the Mac, check some files in and be done with it? Or do I HAVE to get the entire engine first and build it remotely on the Mac?
Update: I suddenly realised that I could generate an Xcode project from the uproject. That seems to be taking me in the correct direction. Except now I'm suffering from a build error:
Looking into this at the moment. Will report back if I make any more progress.
Update #2: Fixed the TapJoy issue by booting the project up on PC and disabling the TapJoy plugin in the plugin manager. Actually managed to build various builds now on the Mac, although building (what I think is) a mac editor build doesn't solve the crash on when running the game's editor project on the Mac, and I seemed to be able to make an IOS build (tried various ones) but the game crashes on iPhone at startup (not sure why). Been playing around with the Xcode configurations trying to see if there's anything obviously wrong, but can't find anything at this point. Will continue looking/trying.
The question has been closed Mar 24 '16 at 07:57 PM by Samantha Sutton for the following reason:
Issue is now outdated. If you are still experiencing this issue, please make a new post for assistance. Thanks!
Follow this question
Once you sign in you will be able to subscribe for any updates here