iOS In-App购买适用于开发但不适用于生产 [英] iOS In-App purchase works in development but not in production

查看:200
本文介绍了iOS In-App购买适用于开发但不适用于生产的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚用iAP发布了我的第一个应用程序。它在开发中总是运行良好,但在生产中,当我尝试购买时它会崩溃。

I've just released my first app with iAP. It always worked fine in development, but in production it crashes when I try to make a purchase.

似乎应用程序不能在生产模式下载我的产品。有没有其他人有类似的问题,你做了什么来解决它?

It seems like the app dosn't download my "product" in production mode. Have anyone else had similar problems, what did you do to fix it?

推荐答案

最近我提交了我的应用程序并且它有同样的问题。在谷歌上花了一些时间后,我发现有时应用程序可以在商店早期使用,苹果的生产服务器需要时间来更新产品,所以等待24-36小时。它将自动修复。

Recently I had submitted my app and it has a same issue. After spent some time on google I found that sometimes application available on store early and apple's production server takes time in updating products so wait for 24-36 hours. It will be automatically fixed.

编辑

Jagdeep指出了一个好点。检查产品的状态,它应处于已批准状态。在我的情况下,它处于批准状态。

Edit
Jagdeep has pointed towards a good point. Check status of your products it should be in "Approved" state. In my case it was in approved status.


  • 当您创建产品时,您已选中清除待售选项?

来自文档:

清除待售表明您的应用程序内购买是否已清除销售。如果未选中此框,则您的应用内购买将无法在应用内购买。请注意,如果您将已清除设置为否,则应用内购买的所有设置仍可在iTunes Connect中进行编辑,您可以在以后将已清除更改为是。

这篇关于iOS In-App购买适用于开发但不适用于生产的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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