错误域= SKErrorDomain代码= 3 UserInfo = 0x2a5a00“无法连接到iTunes Store” [英] Error Domain=SKErrorDomain Code=3 UserInfo=0x2a5a00 "Cannot connect to iTunes Store"

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

问题描述

我正在尝试在我的应用程序中实现应用内购买。
我按照 Apple的编程指南和代码工作正常,直到我创建了一个新的应用程序,App ID,配置文件和其他开发者帐户的应用程序内产品。现在,它给了我以下错误。

I am trying to implement in-app purchases in my application. I have implemented it as per Apple's Programming Guide and the code was working fine until I created a new application, App ID, provisioning profile and in-app products @ another developer account. Now, it gives me following error.


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

Error Domain=SKErrorDomain Code=3 UserInfo=0x2a5a00 "Cannot connect to iTunes Store"

如果我使用以前的开发者帐户的appid,专业证书和产品ID,相同的代码可以正常工作。
这是一个非常奇怪的问题,我仔细检查了产品ID名称和其他仍然面临同样错误的事情。
任何线索..?

The same code works fine if I use previous developer account's appid, pro-certificate and product ids. This is a very strange issue, I double checked product id names and other things still facing same error. Any clue..?

推荐答案

更新:看看这篇文章并添加你的投诉,这样苹果就会有所收获解决这个问题。

Update: Check out this post and add your complaint so apple will get a move on fixing this issue.

iPhone storekit沙箱停止工作

在这里接近同样的事情 - 使用iPad

Close to the same thing here - Using iPad

我的inApp购买工作正在进行中。这很好,做了应有的一切。然后我开始得到Error Domain = SKErrorDomain Code = 2 UserInfo =(someHexMemoryAddress)无法连接到iTunes Store

I had my inApp purchase working. It was fine, did everything it was supposed to. Then I started getting the Error Domain=SKErrorDomain Code=2 UserInfo=(someHexMemoryAddress) "Cannot connect to iTunes Store"

阅读一篇帖子以重置所有内容和设置 - - 那是不是也行不通。

Read on one post to reset all content and settings -- Did that and didn't work.

试图在iTunes中创建一个新的测试用户 - 没有用。

Tried creating a new Test User in iTunes -- Didn't work.

确保项目构建设置中的代码签名标识设置为使用所有inApp内容创建的正确的配置文件。它实际上不是,并以某种方式设置为任何兼容的配置文件。我将其更改为正确的配置文件。但这不起作用。

Made sure my Code Signing Identity in the Project Build Settings was set to the correct Profile that was created with all the inApp stuff. It actually wasn't, and was somehow set to any compatible Profile. I changed it to the correct profile. This didn't work either though.

仍有同样的问题。

在工作之间然后不工作,我唯一真正做的就是实施Facebook Connect。一个有趣的事情是委托方法 -

Between the time it was working and then not working, the only thing I really did was implement Facebook Connect. One interesting thing there is the delegate method -


  • (void)请求:(FBRequest *)请求didFailWithError:(NSError *)错误;

也被称为SKRequestDelegate的委托方法。我不认为这会导致冲突,因为它只会在出现错误时被调用。

which also gets called as a delegate method to SKRequestDelegate. I don't think this is causing a conflict because it is only getting called when there is an error.

我仍然可以联系商店并获取一份清单可用的产品。当我发送购买请求时,我得到一个回复​​告诉我 - 您已购买此In App购买但尚未下载。我点击确定,然后我得到错误域= bla bla bla。

I am still able to contact the store and get a list of available products. When I send a purchase request I get a response telling me- You've already purchased this In App purchase but it hasn't been downloaded. I click ok and then I get the Error Domain=bla bla bla .

有趣的是,即使第一次购买物品,我确实得到了关于先前购买的对话框我创建的新测试用户。

Interestingly, I did get the dialog about previous purchase even when purchasing the item for the first time with the new test user I created.

我学到的另一件事是,如果你做了测试用户,然后在设置应用程序中登录,它就会问你一张信用卡,它不会工作。

Another thing I learned is this, IF you made the Test User, and then Signed In in the Settings App, and it asked you for a credit card, it wont work.

你需要 -
1.创建一个新的测试用户,
2.退出所有账户在商店设置中。
3.然后在您的应用程序中进行购买,它会要求您使用现有用户登录。
4.使用您创建的新测试用户登录,它将起作用。

You need to - 1. create a new Test User, 2. sign out of all accounts in the Store settings. 3. Then go make make a purchase IN your app and it will ask you to log in with existing user. 4. Log in with the new Test User you created and it will work.

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

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