SKErrorDomain代码= 0“无法连接到iTunes Store” [英] SKErrorDomain Code=0 “Cannot connect to iTunes Store”

查看:2391
本文介绍了SKErrorDomain代码= 0“无法连接到iTunes Store”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序刚刚在iTunes Store上线,之后,我无法开始任何购买。我已经测试了该应用程序及其在Sandbox envoirnemnt中的正常工作。但Live应用程序提供错误

My application has just gone live on the iTunes Store, and after that, I am unable to start any purchase. I have tested the application and its working fine in Sandbox envoirnemnt. But Live application gives the error

错误域= SKErrorDomain代码= 0无法连接到iTunes Store

枚举值= SKErrorUnknown

我已尝试退出任何从商店登录测试帐户,但它不会要求任何帐户登录和错误继续。任何线索!

I have tried signing out any test accounts from Store login, but it just doesn't ask for any account login and error keeps on coming. Any clue!

推荐答案

这可能是因为我猜这两个问题。

This can happen because of the two problems i guess.


  • 确保放置了正确的产品标识符。如果是这种情况,那么在您调用 - [SKPaymentQueue addPayment:]之后不久,您将收到错误0获取弹出窗口,要求您确认付款。

  • Make sure you have placed the correct "Product Identifier".If that's the case, then you'll get error 0 shortly after calling -[SKPaymentQueue addPayment:], before you get the popup asking you to confirm payment.

您的测试用户已失效。如果您不小心与测试用户一起登录App Store,就会发生这种情况。如果发生这种情况,您输入密码后将收到错误0以确认付款。

Your test user has become invalidated. This can happen if you accidentally log into the App Store with your test user. When this happens, you'll get error 0 after entering your password to confirm your payment.

解决问题# 1,传递正确的产品ID。要修复问题#2,请在iTunes Connect上创建一个新的测试用户,并选择删除旧的测试用户。

To fix problem #1, pass in the correct product ID. To fix problem #2, create a new test user on iTunes Connect, and optionally delete the old test user.

希望这对您有所帮助。

这篇关于SKErrorDomain代码= 0“无法连接到iTunes Store”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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