Opinion seems to be split on whether an app binary is required to be uploaded to iTunes Connect before a testing an in-app purchase. I’ve created the app (no binary uploaded yet), created the in-app purchase, enabled by App ID for in-app purchase and marked the purchase “available for sale”. I’ve followed the instructions in the guide as far as I can tell.
However, when I try it on my device I am unable to retrieve the products – SKProductRequest returns my request product as invalid.
Any suggestions what I need to do?
Does the in-app purchase product need to “Developer Approved” for this to work?
Any definitive answer on whether a binary needs to be uploaded? I would like to avoid that if possible but am willing to do it if required.
Binary does not need to be uploaded. Source: my current in-development app.
I am getting my test in-app purchases without uploading my binary, and without setting the purchase to be developer approved. I followed the instruction included in the docs to set it up.
Have you been testing on the device? in-app purchases do not work in the simulator. Perhaps if you posted some more info we could help a little bit better.