iOS IAP无法连接到iTunes Store [英] iOS IAP Cannot connect to iTunes Store

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

问题描述

我正在Xcode中测试我的应用程序.女巫意味着它尚未正式上载到应用商店.所以我不能测试真正的IAP,对不对?我只能在沙盒IAP在APP商店正式上线之前对其进行测试,对吗?

I am testing my app in Xcode . witch means it is not officially up loaded to the appstore. so I can't test the real IAP right? I can only test the sandbox IAP before it officially online in APP store,right?

因为当我使用真实的应用ID来测试IAP时.它总是给我这样的错误:

because when I use the real app id to test the IAP. it always give me error like:

_error  NSError *   domain: @"SKErrorDomain" - code: 
 @"Cannot connect to iTunes Store"  

我检查了所有事情,一切都很好.并且沙盒测试也运行良好.因此,导致错误的唯一原因是该应用未在apptore中正式上线,对吗?

I have checked every thing, all fine. and the sandbox test was also worked fine. so the only reason of the error is the app are not officially online in apptore , am I right?

推荐答案

IAP只能在沙箱模式下使用设备中的沙箱(测试)用户帐户进行测试.

IAP can be tested only in sandbox mode with sandbox(test) user account in device.

如果您正在沙盒模式下使用设备中的真实iTunes Apple帐户测试IAP,则会显示错误无法连接到iTunes Store .

If you are testing IAP in a sandbox mode with real iTunes apple account in the device, then the error Cannot Connect to iTunes Store is shown.

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

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