在沙盒之外调试应用内购买?
我有一个应用程序,它使用非消耗性应用内购买向用户提供内容。
当我从 Xcode(通过沙箱)或通过临时构建(出于某种原因,也通过沙箱)运行时,这些购买效果非常好。它已获得苹果公司的批准并上架AppStore。但是当我从商店下载生产版本并单击“购买”按钮时,它失败了。
由于问题仅出现在生产中,因此我对如何调试它感到有点困惑。我怀疑这与通过沙箱与生产服务器进行购买有关,但即使是临时也是通过沙箱完成的。
除了添加一堆警报对话框并再次提交给 Apple 之外,是否有办法调试这个问题?
I have an app that uses non-consumable in-app purchases to provide content to the user.
These purchases work fantastically when I run from Xcode (via sandbox) or via ad-hoc builds (for some reason, also via sandbox). It's been approved by Apple and put on the AppStore. But when I download the production version from the store and click the "buy" button it fails.
Seeing as the problem only occurs in production, I'm a bit stymied as to how to debug it. I suspect it has something to do with purchasing through the sandbox vs. production servers, but even ad-hoc is done through the sandbox.
Is there anyway to debug this problem short of adding a bunch of alert dialogs and submitting to Apple again?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你是完全正确的;
您需要激活所有合同(在 iTunes Connect 中),否则您将无法进行应用内购买。
You are totally right;
You need all your Contracts (in iTunes Connect) to be active, otherwise you wont be able to make in-app purchases.