“无法连接到iTunes Store”应用内购买 [英] "Cannot connect to iTunes Store" in-app purchases
问题描述
我在测试我的应用内购买时遇到问题。我得到有效的产品标识符,但在购买时,我收到可怕的无法连接到iTunes Store。有趣的是,恢复购买似乎工作 - iTunes登录弹出。
I am having problems testing my in-app purchases. I get back valid product identifiers, but upon purchase I receive the dreaded "Cannot connect to iTunes Store". Interesting thing is that restore purchases seems to work - iTunes login pops up.
我有:
- 检查我的应用内购买清除销售
- 检查,重新检查我的源代码与Apple的文档同步
- 添加适当的测试用户
- 应用程序ID不包含通配符
- 应用内购买链接到应用程序(应用程序本身处于开发人员拒绝状态,购买已准备好提交)
- 等待
- 重新安装应用程序,清理解决方案,所有的巫术内容
I have: - Checked that my in-app purchases are cleared for sale - Checked, rechecked my source code to be in sync with Apple's documentation - Added appropiate test users - app id does not contain wildcard - in-app purchases are linked to the app (app itself is in developer rejected state, purchases are in ready to submit) - waited - reinstalled app, cleaned solution, all the voodoo stuff
推荐答案
确保您已在设备上退出任何生产iTunes帐户。
Make sure you have signed out of any production iTunes accounts on the device.
测试手机,这是用我的实际iTunes帐户登录。您不能使用您的生产iTunes帐户测试应用程序,因此错误。我只是希望苹果提供了一个更好的错误,以避免这种猜测...
I was getting this error on my test phone which was logged in with my actual iTunes account. You cannot test apps using your production iTunes account, hence the error. I just wish Apple provided a better error so as to avoid this guesswork...
这篇关于“无法连接到iTunes Store”应用内购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!