Note that there are some explanatory texts on larger screens.

plurals
  1. POApp crashing at startup with iOS 7.0.3
    text
    copied!<p>I'm new to the site and I wasn't able to figure out how to comment on an existing post (seems like you need a certain amount of reputation, which I don't yet have).</p> <p>Since the iOS 7.0.3 update I've had a number of users report that the app crashes on start up (generally after completing an in-app purchase). This thread seems to deal with the same issue:</p> <p><a href="https://stackoverflow.com/questions/19710264/skproductsrequest-crashing-app-at-startup-with-ios-7-0-3">SKProductsRequest crashing app at startup with iOS 7.0.3</a></p> <p>Unfortunately, I'm not able to reproduce the issue on any of my devices (tried a bunch). I was wondering if anyone has had a similar problem, or knows how to reproduce the problem above. My code does request the products on launch, so it seems like that should be the problem, but I'm worried I won't be able to tell if it is fixed because I can't reproduce it internally.</p> <p>I found some other sites indicating that there could be an issue with certain countries, but I wasn't able to reproduce it by switching my App Store to those countries either.</p> <p>Thanks!</p> <p>UPDATE:</p> <p>I found another thread that seems to be related:</p> <p><a href="https://stackoverflow.com/questions/19817130/following-in-app-purchase-app-crashing-on-startup-productidentifier-nil">Following in app purchase, app crashing on startup. productIdentifier=nil?</a></p> <p>If I force my productIdentifier to be nil, I get a crash (that looks similar). I'm not sure why the productIdentifier would ever be nil though. To prevent the crash I could (should) check for a nil productIdentifier. Does anyone know how transaction.payment.productIdentifier or transaction.originalTransaction.payment.productIdentifier could be nil?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload