Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No products returned from SKProductsRequest

This is my first attempt at this and am falling at the get a list of products hurdle!

I have created a ad-hoc profile like: com.mycompany.myproduct and a additional feature on iTunes connect like com.mycompany.myproduct.feature.

The feature is linked to an existing app already on the store but not yet live with in app purchase that uses com.mycompany.myprod as its identifier.

I have build the new version using com.mycompany.myproduct and deployed to my phone and it works ok, apart from when I try to retrieve the list of products available (there is one setup on iTunes connect) I get a return count of 0

Am not sure where I am going wrong so would really appreciate some advice....

Thanks

like image 855
user7865437 Avatar asked Dec 30 '10 14:12

user7865437


2 Answers

This is an old question, but I thought I'd help clarify anyone else with this problem finding this through Google.

Check the invalidProductIdentifiers property of your SKProductsResponse object. It should be empty.

Part of what could be happening is that your identifiers aren't properly configured in iTunesConnect. They should be listed as "Ready to Submit" or "Waiting for Screenshot"

like image 183
Derek Avatar answered Sep 19 '22 23:09

Derek


I have same problem, SKProductsRequest don't return products, and check everything according follow article's suggestion, and still don't return products. Later I reset my iPod, set WiFi, and run again from XCode, it returned product list.

I am quite sure it was resetting iPod, fixed the problem.

like image 22
heMac Avatar answered Sep 22 '22 23:09

heMac