App Rejected !!!

You probably need to hook your iPad up to your computer and use XCode’s Organizer and find your device and click on Console Log and see if you’re getting an error.

You can add some print statements to help find out where this is crashing on you.

[import]uid: 199310 topic_id: 34669 reply_id: 138902[/import]

Hi,
I just received the same rejection reason from apple few hours ago. My app runs on every devices I am able to monitor (Xcode simulator : ios 6.0, iphone & ipad / real device : iphone 6.0.1, ipad 5.1.1). Unfortunately I don’t have an ipad running on ios 6.0.1. Also, the lastest Xcode 4.5.2 embeded simulator is running ios 6.0 only.

So for now, I am like you and I don’t have a solution. I know my app crashed on pages where i have implemented a webview (HTML code written into a file in TemporaryDirectory) and/or a scroll group object… it might be clues…

I guess we should test our apps on an ios 6.0.1 real ipad device and look at the logs. Because I won’t be able to do that until few days, I think I can try downloading Xcode 4.6 (dev preview) to see if they included ios 6.0.1 into the simulator.

I would be happy to share what i’ll find out with my tests… It would be great if you can also share your feedbacks please !
bye

[import]uid: 214894 topic_id: 34669 reply_id: 139301[/import]

Hey Rob
Here’s what i have when I open my app in iPad 3th Generation iOS 6.0.1 with Xcode Organizer :

Jan 17 14:22:30 RJ game[2393] : Lua Runtime Error: lua_pcall failed with status: 2, error message is: ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ':'
Jan 17 14:22:30 RJ kernel[0] : launchd[2393] Builtin profile: container (sandbox)
Jan 17 14:22:30 RJ kernel[0] : launchd[2393] Container: /private/var/mobile/Applications/3CBA14FF-C6C4-4003-8781-E54B04092B4D (sandbox)

and the app launch but not respond to any touch function and cant play the game. [import]uid: 180288 topic_id: 34669 reply_id: 139372[/import]

That error means that you are passing something to a function that’s looking for table and it’s not getting it. Perhaps it’s nil or something other than a table and the app is aborting the chunk it’s in. The other cause of this is calling a function or object method like:

mygroup:insert(myobject)

with a period instead of a :

mygroup.insert(myobject)

The : operator implies that the first parameter to the function is “self” or the object in question. When you call a function that expects self to be the first parameter with a dot instead of a colon, then whatever parameter you pass first is looked at as the self parameter, which is an expected table.

Look for a function that you’re calling with a dot that has a first parameter that is not a table or object.

[import]uid: 199310 topic_id: 34669 reply_id: 139413[/import]

I tried the app with iPad 3th generation and its not working only first screen launched but not responding in any action ( touch not responded )

Apple team said should be the problem with the iOS 6.0.1 or something about last version. apple team they have me solutions how van get fixes BUT using Xcode program, since Im using Corona SDK, How can I resolve the bugs ? Crona SDk have solutions ? [import]uid: 180288 topic_id: 34669 reply_id: 138886[/import]

You probably need to hook your iPad up to your computer and use XCode’s Organizer and find your device and click on Console Log and see if you’re getting an error.

You can add some print statements to help find out where this is crashing on you.

[import]uid: 199310 topic_id: 34669 reply_id: 138902[/import]

Hi,
I just received the same rejection reason from apple few hours ago. My app runs on every devices I am able to monitor (Xcode simulator : ios 6.0, iphone & ipad / real device : iphone 6.0.1, ipad 5.1.1). Unfortunately I don’t have an ipad running on ios 6.0.1. Also, the lastest Xcode 4.5.2 embeded simulator is running ios 6.0 only.

So for now, I am like you and I don’t have a solution. I know my app crashed on pages where i have implemented a webview (HTML code written into a file in TemporaryDirectory) and/or a scroll group object… it might be clues…

I guess we should test our apps on an ios 6.0.1 real ipad device and look at the logs. Because I won’t be able to do that until few days, I think I can try downloading Xcode 4.6 (dev preview) to see if they included ios 6.0.1 into the simulator.

I would be happy to share what i’ll find out with my tests… It would be great if you can also share your feedbacks please !
bye

[import]uid: 214894 topic_id: 34669 reply_id: 139301[/import]

Hey Rob
Here’s what i have when I open my app in iPad 3th Generation iOS 6.0.1 with Xcode Organizer :

Jan 17 14:22:30 RJ game[2393] : Lua Runtime Error: lua_pcall failed with status: 2, error message is: ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ':'
Jan 17 14:22:30 RJ kernel[0] : launchd[2393] Builtin profile: container (sandbox)
Jan 17 14:22:30 RJ kernel[0] : launchd[2393] Container: /private/var/mobile/Applications/3CBA14FF-C6C4-4003-8781-E54B04092B4D (sandbox)

and the app launch but not respond to any touch function and cant play the game. [import]uid: 180288 topic_id: 34669 reply_id: 139372[/import]

That error means that you are passing something to a function that’s looking for table and it’s not getting it. Perhaps it’s nil or something other than a table and the app is aborting the chunk it’s in. The other cause of this is calling a function or object method like:

mygroup:insert(myobject)

with a period instead of a :

mygroup.insert(myobject)

The : operator implies that the first parameter to the function is “self” or the object in question. When you call a function that expects self to be the first parameter with a dot instead of a colon, then whatever parameter you pass first is looked at as the self parameter, which is an expected table.

Look for a function that you’re calling with a dot that has a first parameter that is not a table or object.

[import]uid: 199310 topic_id: 34669 reply_id: 139413[/import]