Game Development Community

Shipping a game

by Hugo Munoz · in iTorque 2D · 06/19/2012 (11:59 am) · 1 replies

Hey Guys, I'm about to publish a game on the apple Store, but noticed something weird, I deployed the game on a jailbroken iPad, then I browsed using ssh to the folder where the game is installed and I don't see any .DSO files, there are just the source ones (.CS), by the way, Im using the release target on the Xcode project.

So the first question is How should I deploy the compiled *.DSO files instead of the *.CS ones ?

Second question I also noticed that some of the script files doesn't compile for example game.cs which is the entry point, why is that ?

Third question can somebody publish a resource indicating the steps needed for releasing a game to apple?


Thanks in advance


PD: I don't know if this a bug or in my case I'm doing something stupid, so if this is not a bug my apologies



#1
06/23/2012 (5:54 pm)
You know... I was trying to do the whole deploy .dso files instead of .cs ones and it's really not working for me at all. I imagine there's probably some issue with one of my .cs files not getting compiled until it's launched on device but I can't seem to figure it out.

I found out how to remove the .cs... but that breaks things horribly. I added:

In Product > Edit Schemes
Expand Build & select Post Actions
Add a run script action
In the script I used

find ${BUILD_PRODUCTS_DIR}/AppName.app/scripts -name '*.cs' -maxdepth 1 -exec rm {} \;

Let me know if you figure out anything better - thanks!