is there a way to know what happend?
i start the app
the screen is black
and then it crashes back to the homescreen
write the GDB output, there are some hinds why it crashes
i created the itouchdemo file and compiled it
i got one error on compile:
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'iPhone-Info.plist'.
and when i run the app
the app starts and then ends automaticly like a cruch ?
im useing ios 3.1.2
with the new ios4 sdk
Maybe this Thread will help you...
http://www.glbasic.com/forum/index.php?topic=4806.0
greets
Ignore the Warning, its only in this XCode project, i created a new one for V8 and MacIDE without this warning.
still getting the same crush ..
is it my os ? 3.1.2?
or someting else
im compiling the itouchdemo
What´s your setting for the Target-Device? OS = 3.1.2? If yes, then try 3.0!
could it be the provisioning file?
i enterd
3LJV44QT6J.com.dooshigames.sungame.${PRODUCT_NAME:rfc1034identifier}
is this the right way?
If the iPhone screen goes black then to home, then it means the app has signed and started to run fine. There should be an debug error on the crash. So is it the same for other code? eg:
PRINT "Hello World",0,0:SHOWSCREEN:MOUSEWAIT
well that worked :)
seem like i have a bug
anyway to debug?
do i need to copy my png files someware?
in the media in the xcode library?
the app works great on the pc
You have to copy your files from the pc project to the xcode/glb/media folder.
You can debug your Program!
use STDOUT "loading textures", STDOUT "running main loop" for e.g. in your glb-code before u call your method or while loop....
Then u can read your outputs on the debug-console in xcode! Thats very helpful ;)
greets
ok works :)
10x
If you add new files to the ../xcode/glbasic/media folder be sure to build clean all otherwise an error will occur on LOADSPRITE!