升级后应用内购买产品 ID 无效
我正在测试我的应用程序内购买代码以更新我的应用程序。当我从 xcode 安装到我的手机时,应用内购买效果很好。当我在手机上安装当前发布的版本,然后在发布版本之上安装开发版本时,就会出现问题。当我以这种方式安装时,我的产品 ID 会返回为无效,即使我已经对其进行了多次测试,并且只要我在安装开发版本之前没有安装发行版本,它就可以工作。
我们确实在此更新中更改了捆绑包 ID,但一切都正常,除非我们按照上面描述的方式安装。
以前有人遇到过这种行为吗?
此外,当前发布的版本没有应用内购买功能。
I'm testing my in app purchase code for an update to my app. The in app purchase works great when I do an install from xcode to my phone. The issue arises when I have the currently released version installed on my phone then I install the dev version over the top of the release version. When I install in this way my product ID comes back as invalid even though I've tested it many times and it works as long as I didn't have the release version installed previous to installing the dev version.
We did alter our Bundle ID in this update but everything has worked except when we install in the way I described above.
Has anybody encountered this behavior before?
Also the currently released version does not have in app purchases.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这种情况经常发生。
如果您在 App Store 版本上安装开发版本 - 新的应用内购买 ID 将返回为无效。
当您将新版本上传到 App Store 时,这将完美运行。
This happens all the time.
If you install your development version over the App Store version - new In App Purchases IDs are returned as invalid.
This will work perfectly when you upload the new version to the App Store.