I'm new to the site, and I have not been able to figure out how to comment on an existing post (it looks like you need a certain reputation, which I don't have yet).
Since the iOS 7.0.3 update, I have had several users who reported that the application crashes on launch (usually after completing an in-app purchase). This thread seems to be addressing the same issue:
Application crash for SKProductsRequest when starting with iOS 7.0.3
Unfortunately, I cannot reproduce the problem on any of my devices (tried a bunch). I was wondering if anyone has a similar problem or knows how to reproduce the problem above. My code asks for products at startup, so it seems like this should be a problem, but I worry that I canβt say if this is fixed, because I cannot reproduce it inside.
I found some other sites indicating that there may be a problem in some countries, but I could not reproduce it by switching my App Store to these countries.
Thanks!
UPDATE:
I found another thread that seems to be related:
After purchasing the application, when the application crashes. productIdentifier = zero?
If I force my productIdentifier to be null, I get a crash (which looks similar). I'm not sure why the productIdentifier will ever be zero. To prevent a crash, I could (should) check for a null product identifier. Does anyone know how transaction.payment.productIdentifier or transaction.originalTransaction.payment.productIdentifier can be nil?
source share