Distributed app freezes when connecting to In-App-Purchase Manager - ios

I am quite stumped right now - I released a new update for my puzzle game app few days ago, and I started getting reports that the game shuts down whenever the user tries to enter the store. The store connects to the InAppPurchaseManager, gets the list of all the IAPs, and opens up the store view.
In debugging mode, I had no problems, and it even passed the review without problem! And now the game is freezing on all the users who try to give me some money!!! :S Did anyone else run into this problem? My store was working fine in previous version. Only thing that I changed was I changed the items that could be purchased so I removed some and added some.
Also I noticed that whenever user tries to enter the store WITHOUT internet connection, it works fine. It only freezes when the user has the internet connection (very ironic...)
Any input or past experiences would be very much appreciated!!! Thank you for saving me from this insanity!

Solution - In itunesconnect, in the manage IAP section, I turned off the IAPs that were not being used anymore, but apparently my program was still trying to receive one of the IAPs that was not being used anymore from the IAPmanager, so it was not receiving the product and crashing. I think anyone running into same problem as me would be rare, but if you do, here it is :) happy coding!

Related

Apple Appstore percent of downloads "stuck" / "not finishing" / "freezing"

I work with a large(ish) app and every update we submit causes us to receive a handful of bad reviews regarding the app download "stuck", "not finishing", "freezing".
This has been happening since iOS 9 but it feels like its becoming increasingly more common.
Our users say the app is frozen, won't open, and can't be deleted or re-downloaded.
Some users have success after restarting the device. But some users swear its become impossible to remove the app.
I've contacted Apple in regards to this but haven't yet got a response.
Has anyone else been experiencing this trend? Is this something I've done incorrectly with my build causing these issues?
Any information is appreciated.
Thank you.

Can't remove app waiting for upload

First of, thanks for taking the time to read this. I am a true ios developer newbie, just released my first app. Now, trying to submit a second (different) app to the appstore, but that seems to go wrong. Whenever i choose validate or submit my app in Xcode, i see that it tries to do so for my previous app (created 2 different bundles IDs for that first app, being a noob and all).
I surfed the web and found that i can delete that previous app that still has the status "Waiting for upload".
This link gives me a bit info on how to delete that broken uploaded;
What to do if Xcode Archiving Utility shows wrong app for validation?
Please note that i have no intention on submitting that 'broken' version of my first app.
HOWEVER, i don't seem to have any link where i can press delete, see here:
http://i.stack.imgur.com/Vq73t.png
TL;DR Can't remove my app that is waiting for upload, stuck with next development app now.
Any help is very, very, very much appreciated!
You can NOT delete an app with status waiting for upload. If you upload the binary that is possible. Just call it something like "APPNAME_old"
For anyone running into the same problem:
The only way i could solve this was by uploading an app with the same bundle-id, get that reviewed and eventually deleted.

iOS Game Center not working now app is live

I've just released my app on the App store tonight (https://itunes.apple.com/us/app/bird-hunter/id829810807?ls=1&mt=8), it has a leaderboard that worked perfectly well in sandbox mode, but now shows up saying no items.
During the review process I was able to see another user on the leaderboard, presumable the person who tested the app. I have game center enabled in itunes connect.
Is this something that will take some time to kick in, or is there something else I have to do to make it work?
I'd not submitted the Leader Board for approval to Apple with the app. I ended up doing some bug fixes to the app and then submitting the Leader Board for approval with the bug fixes, and then everything worked.
It's kind of a shame though as I had a big spike of downloads on the first day, and downloads didn't pick up again until the leader board stuff worked. I kind of wonder if I'd have got a lot more downloads had this been working straight away.

Adding Game Center Support on iTunesConnect Broke My In App Purchasing

I had a well functioning in app purchase system in place and everything was going great. However, after managing Game Center and adding some leaderboards/achievements here on iTunes Connect (without changing anything in the code), in app purchase stopped working altogether and keeps giving me "Unable to Connect" errors. Could this have somehow messed up the sandbox environment? Anyone know what could be the problem?
I think there is a definite correlation since enabling/disabling Game Center on iTunesConnect changes behaviour on the device, but even if I disable everything it tsill won't go back to the way it was before).
I've been at this for days now. Help?
I doubt there's any correlation between Game Center and IAP, although the sandboxes are pretty unreliable. Have you checked so that your Paid Applications contract hasn't expired or is invalid in some other way? Also, have you checked that your test user is still valid?

Recently released iPhone app update hangs at splash screen

I submitted my app update for review a week or so ago and it worked fine for me when i submitted it (on multiple devices and emulator). Apple reviewed it and approved it and now whenever users download it, the app just hangs at the splash screen forever. On iOS 6 beta it immediately crashes. I believe it must be something wrong with the package that Apple put on the store for download, but i honestly have no idea. Anybody had this happen before or anyone have any ideas on how you can debug a problem like this?
This is maybe the 30th or so time i've submitted something to Apple and this is the first time anything like this has ever happened. I have used a technical support incident to contact apple and no response so far from that. I also used the contact us page on the itunesconnect portal to ask about it and no response from that either. Both of those were done on Friday. As a secondary question, does anyone know how long it takes to hear back from Apple when you submit questions in either of those ways?
I faced the same issue. It was a DNS issue. It drove me mad for months, since I could not reproduce the issue. However one poorly configured WiFi helped me reproduce the issue by chance.
iOS tries to perform DNS lookup at the beginning of the app lifecyle. This is even before a single line of code is executed. If the DNS lookup is performed on the main thread synchronously, it blocks the UI. This issue arises only in cases where its trying to resolve the DNS for about 30s while blocking the UI. Hence the iOS watchdog kills the app due to a timeout. Apple also has a doc for this- https://developer.apple.com/library/prerelease/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/CommonPitfalls/CommonPitfalls.html
You can search for DNS lookup in your code and check its execution. In my case it was a 3rd party C-library that was causing an issue.
I know its been really long since this question was asked, hope it helps someone.

Resources