Game Development Community

iPhone build doesn't work when installed with DSOs

by Darren Decker · in iTorque 2D · 10/08/2010 (8:51 pm) · 3 replies

Version: T2D_iPhone_1_3_1

My game is ready for full beta testing but when I build using .CS files the game runs on the phone but when I use .DSOs and delete the .CS files the game just freezes on the initial splash screen and then crashes. I'm using TGBGame and CompileScriptsMain.cs to compile the .CS files to .DSO files on the mac. I'm also keeping the main.cs file since this is mandatory.

Any assistance on this would be greatly appreciated.

#1
10/08/2010 (9:49 pm)
What does your console output look like in Xcode when the crash occurs?
#2
10/08/2010 (11:30 pm)
Here's the console error:

Quote:
Running…
Error launching remote program: failed to get the task for process 2696.
Error launching remote program: failed to get the task for process 2696.
The program being debugged is not being run.
The program being debugged is not being run.
#3
10/10/2010 (3:42 am)
Discovered some things through trail and error.

* 1st gen iphones will do not support versions higher than iOS 3.1.3. This is the type of phone I have. The most recent version of XCode only includes iOS 3.2 SDK or higher. When the .cs files are compiled into the DSO files, iOS 3.1.X and below will not run the DSO files. Luckily I have an ipad to finish my testing on before doing friends and family beta testing.

* All datablock files must remain as .cs files. When using the DSO files the engine would not load the assets in the datablock files.

* If you use a separate .cs file for all of your font profiles, keep it as a .cs file also.