没有从SKProductsRequest返回的产品 [英] No products returned from SKProductsRequest

查看:136
本文介绍了没有从SKProductsRequest返回的产品的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次尝试这个并且正在获得产品列表的障碍!

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

我创建了一个特殊的配置文件,例如:com.mycompany .myproduct和iTunes连接上的其他功能,如com.mycompany.myproduct.feature。

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

该功能已链接到商店中已有但尚未使用的现有应用在应用程序购买中使用com.mycompany.myprod作为其标识符。

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.

我使用com.mycompany.myproduct构建新版本并部署到我的手机上它运行正常,除了当我尝试检索可用产品列表(iTunes连接上有一个设置)时,我得到的返回计数为0

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....

谢谢

推荐答案

这是一个老问题,但我想我会通过Google帮助澄清其他任何有这个问题的人。

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

检查invalidProductI您的SKProductsResponse对象的dentifiers属性。它应该是空的。

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

可能发生的部分原因是您的标识符未在iTunesConnect中正确配置。它们应列为准备提交或等待屏幕截图

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"

这篇关于没有从SKProductsRequest返回的产品的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆