user7865437
user7865437

Reputation: 812

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

Upvotes: 7

Views: 5923

Answers (2)

Derek
Derek

Reputation: 1170

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"

Upvotes: 18

heMac
heMac

Reputation: 1539

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.

Upvotes: 2

Related Questions