IOS app crashes after loading from Appstore

My approved app crashed after downloading it from the Appstore. Given all other circumstances, I wonder if this is due to the fact that I still need to get approval from Facebook to use their login mechanism and xmpp chat?

Hope anyone can confirm this?

0
source share
3 answers

No, you yourself created an error: in your method -[AppDelegate productsRequest:didReceiveResponse:] you get access to an array with an index outside the bounds.

Check the syslog to see what the actual bad index is.

+6
source

After reading your comment regarding Nikolai Rouche's answer (which is correct), it is obvious that the reason for the failure is that you do not check that response.products contains any products at all before referring to its first element. Still, it should not happen that you do not receive the correct product in the answer (especially if it always worked and the product of the application was accepted with the application), but you did not cope with this matter, and this is what causes the accident.

+1
source

With these debug logs, this is clear, this problem is related to the purchase of your application. You must view your purchase in the app.

+1
source

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


All Articles