Question

I don't know why app is not responding if I download reviewed app from app store. But when the same app code which I run locally from my system it's work perfectly here I explain you in brief.

Actually I have an registration page in which we take following things from user

  • Name
  • number
  • Email
  • Address and
  • device id

and sending all things on server but and it's work perfect on my end when download the review app it's always return 0 that means server not responding. I am not able to understand why it's happening? I am testing my app on both simulator and iPhone after I upload it.

Can any one tell why is this happening?

Was it helpful?

Solution

First of all, the review process doesn't change your binary at all. Whatever you submit, is what you get on the store, if approved.

Keep in mind that when you archive your application for the submission, you use the Release configuration, whereas typically you test on your Simulator/device with a Debug configuration.

To test the actual binary on your device before sending it to the store, you have to change the Target schemes such that the Run option uses the Release build configuration.

OTHER TIPS

I can not locate your specific problem as we need to see the code, and it is strange that Apple did not reject your app. BUT -

Always check your app after archiving it and don't count only on your debug builds.

I had the same issue with app that was rejected by apple on a crash that did not accrue on debug. When I installed the archived version I saw the crash immediately. Apparently there are some changes between the debug version and the archived version. The code is processed differently and new bugs might pop up.

All you need to do is to archive your app with Ad-hoc provisioning and install it on your device to check if it behave the same. (It might not be your problem but you can give it a try).

You can use Charles to check your request on the archived version and see what is going wrong.

Like other answers, you can run your app in release mode before submitting for app review. One specific setting difference between debug mode and release mode by default is the Optimization level setting. For the debug mode, it is set to none and for the release mode it is set to smallest, fastest. You can change your debug mode's setting to smallest,fastest. I recently encountered the same situation. That was what I did.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top