What could cause unexpected crashes for the iphone app?

I have an application in which I sometimes receive support letters that say that the application crashed into them and no longer opens. The message "Default.png" will appear, then it will exit. Even when the application is uninstalled and reinstalled.

-I do not receive crash reports or memory problems (as reported by itunes connect using reports from a significant sample size> 20,000 downloads)

- I confirmed that it is not limited to a specific model and is not caused by jailbroken devices.

- The application has no external dependencies, so why reinstall it and not fix the problem?

What problems can lead to a crash and be permanent?

+4
source share
4 answers

If you have an uncaught exception handler , depending on what you have, you will not receive reports written in the same way, or in general, as if you did not have a handler. This will make iTunes think that there are no crash reports at all. Uncaught exception handlers are usually added as part of analytic frameworks or third-party notification tools.

Although this may answer your question, a more reasonable explanation is that the devices on the failed system just need to restart the device.

+1
source

I think every application developer with a significant installation base has struggled with a problem like this in the past.

Are you using an analytics package like Flurry to help you report crashes? We used Flurry with great success at Apple - Apple will not begin to inform you of failures until you have a lot of them, and β€œjust a few” is never enough.

Also, if it shows default.png and crashes, carefully read the startup code. Are you installing something in NSUserDefaults that, if damaged, could cause the application to crash on startup?

True, it is strange that removal and reinstallation do not do the trick.

+1
source

Users do not report Apple error reports. Accidents can occur from any number of sources.

0
source

You can skip the user through the process of digging crash reports directly from iTunes during the next synchronization and send them directly to you.

You can ask the user to remove the application from the device, reboot his device, and then install the application again after a new reboot.

0
source

Source: https://habr.com/ru/post/1338788/


All Articles