can't pass the app store review with error of director class

Had checked the code and uploaded app many times, but always be rejected, each time they show a image:
http://a921.phobos.apple.com/us/r30/Purple/c2/f5/8b/dj.fyneynrk.png

but when we test on our ipad2(ios 5),never got that error, and record a video
http://youtu.be/84TxrWqGjMA

could somebody help us? [import]uid: 55166 topic_id: 18433 reply_id: 318433[/import]

This is just a guess, but are you storing any type of game data or status in a file?

If yes, do you test that the app handles the case where it is being run for the very first time and the file does not exist.

When you start the Corona Simulator it prints out a message telling you where the sandbox is. It looks like this.

Copyright © 2009-2011 A n s c a , I n c .
Version: 2.0.0
Build: 2011.681
The file sandbox for this project is located at the following folder:
(/Users/lbp/Library/Application Support/Corona Simulator/crowdedgarden11F8F2F6F669E605DA5BABB653474B07CF)

Try going to that directory and deleting everything and restarting the simulator.

If you use xcode to install on device, try deleting old version before installing new version. If you let xcode replace an existing app, any files the app created will be preserved. If you delete the app first, the files will be deleted.

What version of director are you using? What corona build?

[import]uid: 67839 topic_id: 18433 reply_id: 70756[/import]

thanks elbowroomapps.

Of course, i deleted the old version before installing.
And my director version is 1.3, corona sdk is 681.
and i also send a adhoc version to my friend, and it’s running with out that error.

u can download the code from http://www.giveyoupower.com/halloweenkick/demo.zip
[import]uid: 55166 topic_id: 18433 reply_id: 70767[/import]

I tried the code you posted in the simulator.

When I start the game, if I go to the first headstone and click the picture I get the director error.

If I click lower on the head stone, below the picture, then the level starts OK.

I can make a video of this if you need it. [import]uid: 67839 topic_id: 18433 reply_id: 70777[/import]

I stuck some print statements in Levelist.lua right before you change scene. I get gailv=nil.

Do you ever initialize gailv for a winButton?

[import]uid: 67839 topic_id: 18433 reply_id: 70780[/import]

Thank you so much, elbowroomapps !!!
finally, i got the error of apple tester found~
will fix that, thanks.
[import]uid: 55166 topic_id: 18433 reply_id: 70783[/import]

Your welcome.

I would also suggest that you remove that file that I downloaded. Unless you plan to make your project public domain.

[import]uid: 67839 topic_id: 18433 reply_id: 70784[/import]