App Got Rejected [2.2: Apps that exhibit bugs will be rejected]

Hey team,

This has me confused. Waited a week and then I got this rejection from Apple for 2 apps that I was trying to update: Attached Screen Shot 2014-04-29.

Thing is the app runs fine in the simulator but once I build and try it on my device I get the blank screen, attached also. (I know I should have but I didn’t try it on my device before submitting because they were minor changes)

Running iOS 7.1.1

Corona Version 2014.2189 (2014.3.6)

Any ideas of why this is happening?

Cheers

There isn’t any information that can help us figure out the issue crashing your app.  You need to test it on a device and watch the device’s console log and look for errors.  If you don’t know how to do that, please read:

http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Thanks for the link, very helpful. I have a nice list of issues but I don’t have a clue what it means or how to fix it haha.

So I took a look at the console in Organizer and when I run the app and get the black screen I also get this in the console…

Apr 29 12:35:24 Warwicks-iPadMini kernel[0] <Debug>: launchd[321] Container: /private/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4 (sandbox)

Apr 29 12:35:24 Warwicks-iPadMini backboardd[28] <Error>: HID: The ‘Passive’ connection ‘MonkeySpot2.5’ access to protected services is denied.

Apr 29 12:35:24 Warwicks-iPadMini MonkeySpot2.5[321] <Warning>: Platform: iPad / iPad2,5 / 7.1.1 / PowerVR SGX 543 / OpenGL ES 2.0 IMGSGX543-97.7

Apr 29 12:35:24 Warwicks-iPadMini MonkeySpot2.5[321] <Warning>: Runtime error

module ‘dmc_multiTouch’ not found:resource (dmc_multiTouch.lu) does not exist in archive

no field package.preload[‘dmc_multiTouch’]

no file ‘/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4/MonkeySpot2.5.app/dmc_multiTouch.lua’

no file ‘/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4/MonkeySpot2.5.app/dmc_multiTouch.lua’

no file ‘./dmc_multiTouch.so’

no file '/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4/MonkeySpot2.5.app/dmc_multiTouch.so’dmc_multiTouch

stack traceback:

[C]: in function ‘require’

?: in function <?:797>

(tail call): ?

/Users/TwistedLogic/Documents/Kwik/APPLE/Monkey_Spot/build/main.lua:10: in main chunk

I’m not really sure what it means so if someone out there can decipher it, please let me know!?

As for the dmc_multiTouch.lua which seems to be mentioned a lot. That .lua file is in the file list before I compile and build the app, so not sure why it’s showing up as missing?

Any help would be very appreciated!

Cheers

Well the first thing is to check to make sure the file is an exact case match.  The simulator is not case sensitive while the device’s are.  This would explain why it works in the sim but not the device.

BINGO!! That did it!

Thanks! Not sure how that happened but it will go on the list of things to check in the future.

Cheers!

:slight_smile:

There isn’t any information that can help us figure out the issue crashing your app.  You need to test it on a device and watch the device’s console log and look for errors.  If you don’t know how to do that, please read:

http://coronalabs.com/blog/2013/07/09/tutorial-basic-debugging/

Thanks for the link, very helpful. I have a nice list of issues but I don’t have a clue what it means or how to fix it haha.

So I took a look at the console in Organizer and when I run the app and get the black screen I also get this in the console…

Apr 29 12:35:24 Warwicks-iPadMini kernel[0] <Debug>: launchd[321] Container: /private/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4 (sandbox)

Apr 29 12:35:24 Warwicks-iPadMini backboardd[28] <Error>: HID: The ‘Passive’ connection ‘MonkeySpot2.5’ access to protected services is denied.

Apr 29 12:35:24 Warwicks-iPadMini MonkeySpot2.5[321] <Warning>: Platform: iPad / iPad2,5 / 7.1.1 / PowerVR SGX 543 / OpenGL ES 2.0 IMGSGX543-97.7

Apr 29 12:35:24 Warwicks-iPadMini MonkeySpot2.5[321] <Warning>: Runtime error

module ‘dmc_multiTouch’ not found:resource (dmc_multiTouch.lu) does not exist in archive

no field package.preload[‘dmc_multiTouch’]

no file ‘/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4/MonkeySpot2.5.app/dmc_multiTouch.lua’

no file ‘/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4/MonkeySpot2.5.app/dmc_multiTouch.lua’

no file ‘./dmc_multiTouch.so’

no file '/var/mobile/Applications/5B37F69F-BF3C-4942-8D2B-97449643B2F4/MonkeySpot2.5.app/dmc_multiTouch.so’dmc_multiTouch

stack traceback:

[C]: in function ‘require’

?: in function <?:797>

(tail call): ?

/Users/TwistedLogic/Documents/Kwik/APPLE/Monkey_Spot/build/main.lua:10: in main chunk

I’m not really sure what it means so if someone out there can decipher it, please let me know!?

As for the dmc_multiTouch.lua which seems to be mentioned a lot. That .lua file is in the file list before I compile and build the app, so not sure why it’s showing up as missing?

Any help would be very appreciated!

Cheers

Well the first thing is to check to make sure the file is an exact case match.  The simulator is not case sensitive while the device’s are.  This would explain why it works in the sim but not the device.

BINGO!! That did it!

Thanks! Not sure how that happened but it will go on the list of things to check in the future.

Cheers!

:slight_smile: