My app works on my devices but not at apple.

So I build and run my app. It works great! I submit it to apple and they reject it. I have no idea what I have done wrong but when they open my app it freezes with a black screen. Here is a screen shot of my console log. Can anyone please tell me what is wrong?

The code in the picture

Jul 12 15:13:59 Max-Nelsons-iPhone assistantd[71] \<Notice\>: connection 9 total: 1, connected: 0, added new subflow [cid=1, state=Waiting, ifindex=9] Jul 12 15:13:59 Max-Nelsons-iPhone assistantd[71] \<Notice\>: connection 9 total: 1, connected: 1, new connected subflow [cid=1, state=Connected, ifindex=9, preferred, mp\_capable] Jul 12 15:13:59 Max-Nelsons-iPhone assistantd[71] \<Notice\>: connection 9 total: 2, connected: 1, added new subflow [cid=2, state=Waiting, ifindex=2] Jul 12 15:13:59 Max-Nelsons-iPhone awdd[862] \<Error\>: CoreLocation: CLClient is deprecated. Will be obsolete soon. Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: [MPAssistantStationSyncHandler] Begin station sync with anchor: , validity: 0, model validity: 0 Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: [MPAssistantStationSyncHandler] Found 0 revisions to sync. Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: [MPAssistantStationSyncHandler] Sync ended. Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: the local store doesn't allow tasks and we have no default calendar :( Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: Launch Services: Registering unknown app identifier com.apple.podcasts failed Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: Launch Services: Unable to find app identifier com.apple.podcasts Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: [MPAssistantSyncHandler] Begin media library sync with anchor: 42882, validity: 1332221420675118792 Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: [MPAssistantSyncHandler] Found 0 revisions to sync. Jul 12 15:13:59 Max-Nelsons-iPhone assistant\_service[382] \<Warning\>: [MPAssistantSyncHandler] Sync ended. Jul 12 15:14:00 Max-Nelsons-iPhone kernel[0] \<Debug\>: launchd[863] Container: /private/var/mobile/Applications/F8DFD4BF-8A09-49F4-83A0-6418EDA1B01C (sandbox) Jul 12 15:14:00 Max-Nelsons-iPhone backboardd[31] \<Error\>: HID: The 'Passive' connection 'NotCircles' access to protected services is denied. Jul 12 15:14:00 Max-Nelsons-iPhone NotCircles[863] \<Warning\>: Platform: iPhone / iPhone6,1 / 7.1.2 / Apple A7 GPU / OpenGL ES 2.0 Apple A7 GPU - 27.23 Jul 12 15:14:00 Max-Nelsons-iPhone assistantd[71] \<Notice\>: connection 9 total: 2, connected: 2, new connected subflow [cid=2, state=Connected, ifindex=2, mp\_capable] Jul 12 15:14:00 Max-Nelsons-iPhone backboardd[31] \<Error\>: HID: The 'Passive' connection 'AdSheet' access to protected services is denied. Jul 12 15:14:00 Max-Nelsons-iPhone limitadtrackingd[378] \<Warning\>: Not scheduling a new BTA job; keeping previously scheduled job should run after 84480s from now when the network is available. Jul 12 15:14:00 Max-Nelsons-iPhone AdSheet[865] \<Warning\>: [AppDeveloper] Fill rate for development application 'NotCircles': 80.0% Jul 12 15:14:00 Max-Nelsons-iPhone AdSheet[865] \<Warning\>: [AppDeveloper] Simulating an inventory-unavailable server response due to development application fill rate. To change the fill rate, see the Developer panel in Settings. Jul 12 15:14:03 Max-Nelsons-iPhone lockdownd[25] \<Notice\>: 01b44000 \_\_ask\_user\_to\_trust\_block\_invoke\_2: sleep Jul 12 15:14:03 Max-Nelsons-iPhone lockdownd[25] \<Notice\>: 01b44000 trigger\_host\_pair: notifying host to pair

You should ask Apple to send you the console log from their failed run to see if any errors are going on there.

Rob

Rob thanks for the reply! My app name is Not Circles. Notice the CFBundleDisplayName has no spaces or capitals. Could this be causing the app to crash at Apple?

 iphone = { plist = { CFBundleIdentifier = "com.domainname.notcircles", CFBundleDisplayName = "notcircles", } },

If the CFBundleIdentifier matches what you told iTunes Connect and matches the provisioning profile you built with, then it should be okay.  I think you would have gotten an automatic rejection by Application Loader if that was the issue.  That said, I highly recommend not setting those in the build.settings but depend on the Corona SDK Build dialog to provide the app name and use the selected Code Signing Identity (provisioning profile) to provide that information.

There are no errors directly from your app in the console log you posted that I can see.  The HID error is a red-herring and can be ignored.  Just about every app has that error.  Your ad servers seems to indicate it’s in developer mode, not production mode and you may be getting limited ads and who knows if that’s causing an issue.

Your best bet is to reply to the rejection and ask them for their console log.

Rob

Ok I guess I’ll to wait for rejection because I already resubmitted… And I can’t send a message

Did you erase the last rejection email they sent you?  It should tell you how to contact them.

Rob

I found where to contact them thanks!

You should ask Apple to send you the console log from their failed run to see if any errors are going on there.

Rob

Rob thanks for the reply! My app name is Not Circles. Notice the CFBundleDisplayName has no spaces or capitals. Could this be causing the app to crash at Apple?

 iphone = { plist = { CFBundleIdentifier = "com.domainname.notcircles", CFBundleDisplayName = "notcircles", } },

If the CFBundleIdentifier matches what you told iTunes Connect and matches the provisioning profile you built with, then it should be okay.  I think you would have gotten an automatic rejection by Application Loader if that was the issue.  That said, I highly recommend not setting those in the build.settings but depend on the Corona SDK Build dialog to provide the app name and use the selected Code Signing Identity (provisioning profile) to provide that information.

There are no errors directly from your app in the console log you posted that I can see.  The HID error is a red-herring and can be ignored.  Just about every app has that error.  Your ad servers seems to indicate it’s in developer mode, not production mode and you may be getting limited ads and who knows if that’s causing an issue.

Your best bet is to reply to the rejection and ask them for their console log.

Rob

Ok I guess I’ll to wait for rejection because I already resubmitted… And I can’t send a message

Did you erase the last rejection email they sent you?  It should tell you how to contact them.

Rob

I found where to contact them thanks!