Game Development Community

[resolved] Anybody build a game with iPhone successfully?

by Dawei Bi · in iTorque 2D · 10/23/2009 (9:31 am) · 7 replies

I could only run a game on the simulator , and always faild to run a game on my iPHone (OS 3.1)

#2
10/23/2009 (10:29 am)
And you might want to try posting what problems you are having, rather than "i am having problems".
#3
10/23/2009 (10:39 am)
Yes ,I could run it on Simulator ,but when I run it on my iPhone ,it displays the info below:

Game Starup Error

"initializeProject" function could not be found....................
#4
10/23/2009 (10:48 am)
You have not copied the DSO files into the app bundle. To do this, you need to first build them using the Torque Game Builder Application on OSX, and then in XCode, add them under the "resources" group of the project. It Should look like this :

img259.imageshack.us/img259/3608/picture29w.png
Excluding the m4v !

If it already looks like this, once you "Set active target -> Device" , Right click on the two blue folders (common, game) and choose "compile". You should see something along the lines of "Copying resource 1 of 1 to bundle" in the status, and you will need to make a change to the source file if it didnt code sign the bundle.

Hope this helps :)
#5
10/23/2009 (11:25 am)
Thank you very much ,it works now !!!!
#6
10/23/2009 (11:31 am)
Glad to hear!
#7
10/23/2009 (11:37 am)
I run the test game , in the gravity mode ,it is very slow ,hehe.

But I am very happy, I spent the whole day studying this ,thanks again.