无法连接到iTunes商店错误

无法连接到iTunes商店错误

本文介绍了无法连接到iTunes商店错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我现在遇到这个问题。我在我的应用内购买中使用MKStoreKit。这是我的错误:

Well, I'm having this issue now. I'm using MKStoreKit in my in-app purchase. This are my errors:

Failed transaction: <SKPaymentTransaction: 0x136a62e0>
error: Error Domain=SKErrorDomain Code=2 "Cannot connect to iTunes Store" UserInfo=0x13654a90 {NSLocalizedDescription=Cannot connect to iTunes Store}

任何想法?

推荐答案

您可以通过交叉检查此检查清单来删除该错误。
如果您的答案对任何一点都不是,那么可能会导致问题

You may remove that error via cross checking this check list.If your answer is no for any of the points then it may be causing the problem


  1. 您启用了应用程序内购买对于您的应用程序ID?

  2. 您是否检查过您的产品已清除待售?

  3. 您的项目的.plist捆绑ID是否与您的应用程序ID相匹配?

  4. 您是否为新的App ID生成并安装了新的配置文件?

  5. 您是否已使用此新配置文件将项目配置为代码签名?

  6. 您在制作SKProductRequest时是否使用完整的产品ID?

  7. 自从将产品添加到iTunes Connect后,您是否等了几个小时?

  8. 您的银行详细信息是否在iTunes Connect上有效?

  9. 您的设备是否已越狱?如果是这样,你需要恢复越狱以使IAP正常工作。

  10. 对于iOS7和Xcode 5尝试这样做:

  1. Have you enabled In-App Purchases for your App ID?
  2. Have you checked Cleared for Sale for your product?
  3. Does your project’s .plist Bundle ID match your App ID?
  4. Have you generated and installed a new provisioning profile for the new App ID?
  5. Have you configured your project to code sign using this new provisioning profile?
  6. Are you using the full product ID when making an SKProductRequest?
  7. Have you waited several hours since adding your product to iTunes Connect?
  8. Are your bank details active on iTunes Connect?
  9. Is your device jailbroken? If so, you need to revert the jailbreak for IAP to work.
  10. For iOS7 and Xcode 5 Try doing this:

  1. 你必须在物理设备上测试苹果在模拟器中限制IAP测试。

  2. 转到设置 - > iTunes& App Store - >并注销您的帐户。
    从设备中删除应用并清除所有数据。


最重要的是在尝试购买之前,请先从设备中的当前iTunes帐户注销。

Most importantly do logout from your current iTunes account in your device before trying to do any purchase.

确保您已完成应用内购买测试的所有必要步骤。

Make sure you have done all necessary steps for in-App purchase testing.

这篇关于无法连接到iTunes商店错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 19:48