Device dont works like simulator

in my game all looks right on simulator ( iOS )
but when I build for device and play it, i dont know why but in gameover the game stop and dont go through and i cant see the error because when I running with debug or terminal… i dont get any error, but when i run without debugg or terminal, I have a error, but I can’t see =T

How can I found this error or, i dont know, run a terminal on device

thanks [import]uid: 23063 topic_id: 10476 reply_id: 310476[/import]

for apple - build for xcode you can see the logs there
on android you can use logcat

c. [import]uid: 24 topic_id: 10476 reply_id: 38122[/import]

and where are this “logs”? :X
[import]uid: 23063 topic_id: 10476 reply_id: 38129[/import]

ios : console

android : logcat you will need to screen them [import]uid: 24 topic_id: 10476 reply_id: 38130[/import]

I have run in simulator of xcode and I dont get any error… only crashs in device =S [import]uid: 23063 topic_id: 10476 reply_id: 38133[/import]

check your uppercase/lowercase - devices r case sensitive -

for example:

display.loadImage(“Foo.png”) is not the same as

display.loadImage(“foo.png”) in the device
c. [import]uid: 24 topic_id: 10476 reply_id: 38134[/import]

nope again… all the same :S [import]uid: 23063 topic_id: 10476 reply_id: 38137[/import]

logcat + console

debug debug debug :wink:

spoken like a true engineer [import]uid: 24 topic_id: 10476 reply_id: 38142[/import]

what ‘-’ [import]uid: 23063 topic_id: 10476 reply_id: 38144[/import]

that

[import]uid: 24 topic_id: 10476 reply_id: 38145[/import]

what i supposed to do? I dont understand :X [import]uid: 23063 topic_id: 10476 reply_id: 38146[/import]

I can send to you my level.lua if you want to look and take a shoot [import]uid: 23063 topic_id: 10476 reply_id: 38157[/import]

Hey Dhennrich; Carlos is a very busy man and he can’t be helping members out with their coding errors - he has to work on growing, improving and innovating :wink:

What you need to do is open up your gameover.lua file (or whatever you’ve called it) and look through it VERY carefully, possibly multiple times.

Look for any capital letters that shouldn’t be there, or missing capitals that should.

Next, if you are calling an OpenFeint function or the like, make sure you are doing so correctly. If it’s, for example, submitting a highscore to OpenFeint, this only happens on the device and not in the simulator, so if there is an issue with that code only the device would show it.

Peach :slight_smile: [import]uid: 52491 topic_id: 10476 reply_id: 38235[/import]