iOS 应用内购买 - “无效的产品 ID"在发布中,而不是开发版本 [英] iOS In App Purchase - "Invalid Product ID" in release, NOT development version

查看:34
本文介绍了iOS 应用内购买 - “无效的产品 ID"在发布中,而不是开发版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个新应用并将二进制文件上传到 iTunes Connect,然后使用测试用户帐户在模拟器和设备上测试 IAP.两者都有效.

I created a new app and uploaded the binary to iTunes Connect, then tested IAP using the test user account, both on the simulator and on the device. Both worked.

我提交了最终的应用程序,它目前在 App Store 上架.但是,从我的设备中删除开发版本并从 App Store 下载我的应用程序以测试 IAP 后,该应用程序立即收到产品 ID 无效:"错误.

I submitted the final app and it is currently live on the App Store. However, after deleting the development version from my device and downloading my app from the App Store to test IAP, the app immediately receives an "Invalid Product ID:" error.

再一次,开发版本使用测试用户帐户工作,但在商店中它不起作用并返回无效的产品 ID.任何想法这可能是什么?如果有人想对此进行测试(如果只有我),该应用程序称为ContaX"并且免费提供广告 - 您无需实际购买升级,只需在点击删除广告选项后查看它是否崩溃即可.

Once again, the development version worked using the test user account, but live on the store it does not work and returns invalid product ID. Any ideas what this might be? If anyone wants to test this (in case it's just me) the app is called "ContaX" and is free with ads - you don't need to actually buy the upgrade, just see if it crashes after tapping the remove ads option.

推荐答案

我建议您在应用获得批准后等待 24 小时.

I advise you to wait for 24 hours after your app is approved.

有时应用内购买需要更多时间才能在已发布的应用程序中可用.

Sometimes it takes more time for the in app purchases to be available in the released application.

这篇关于iOS 应用内购买 - “无效的产品 ID"在发布中,而不是开发版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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