The iOS in-app purchase product is not returned in the products, but only in the invalidProductIdentifiers in the sandbox. How to debug?

I am adding an application to my application for my application. I followed all the steps described by Apple (http://developer.apple.com/library/ios/#technotes/tn2259/_index.html, especially in Q & A # 6), as well as in the In-App Program Guide.

The problem is that when I submit a product request while testing my iPod Touch test, the response shows it in invalidProductIdentifiers and is not a valid product.

My application has a specific application identifier without a wild card.

My profile, which I use to sign the application, explicitly has an application identifier and does not use a wild card.

An in-app purchase item is a standard non-subscription item that is not consumable (including advanced features). I added it to the store as an application item for my application. It was installed for cleaning for sale. (It is in a "waiting for loading screen" state).

I copied and pasted the item id in the app from iTunes Connect and pasted it into my app to make sure I didn't say a word.

I searched StackOverflow and used Bing and Google for tips on how to diagnose this problem, and basically all the answers were checking the application id, item id, signature profile, etc.

The error is not returned and the product request completes successfully, so the request does not require an NSError object.

How can I diagnose a problem and debug it?

thanks

+7
source share
3 answers

One thing to check that you did not mention: did you install the assembly by running Xcode with it plugged in via a USB device? You cannot connect to the sandbox repository using a special deployment.

If you havenโ€™t already done so, check out Troy Brandt for an exhaustive list of unacceptable issues with product identifiers .

+11
source

Uninstalled application. It worked instantly in my case!

0
source

I just found a quick way to solve the problem with an invalid product identifier, at least until my case, after I tried the exhaustive list of Troy Brandt's invalid product identification numbers, but still get 2 invalid product identifiers from 4. The solution is to remove all IAPs and restart them using different IAPs, new link identifiers and product identifiers, after which I deleted the application in the test device. After that, everything worked. Apple should be dishonored so that IAP is so hard to implement.

0
source

All Articles