Error Domain=SKErrorDomain Code=0 “操作无法完成.(SKErrorDomain 错误 0.)" [英] Error Domain=SKErrorDomain Code=0 “Operation could not be completed. (SKErrorDomain error 0.)”

查看:31
本文介绍了Error Domain=SKErrorDomain Code=0 “操作无法完成.(SKErrorDomain 错误 0.)"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用应用内购买.我正在尝试从 AppleStore 获取我的所有交易.请求后,我发现了一个错误代码:

I'm working with In App Purchase. I'm trying to get all my transactions from AppleStore. After request, I catch an error code:

请求错误 Error Domain=SKErrorDomain Code=0 操作无法完成.(SKErrorDomain 错误 0.)"

request error Error Domain=SKErrorDomain Code=0 "Operation could not be completed. (SKErrorDomain error 0.)"

[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];

我什至没有输入我的用户凭据.如何解决?有什么问题吗?有人知道吗?PS:我在 iPad 和 iPhone 设备上测试它 - 而不是模拟器.谢谢!

I have not even enter my user credentials. How to fix it? Whats a problem? Anybody know? PS: I'm testing it on iPad and iPhone devices - not Simulator. Thanx!

推荐答案

您必须在设置应用程序中从您的 iTunes 帐户注销.然后重试并使用测试帐户.您可以在 iTunes 连接页面中创建它们.

You must logout from your iTunes account in the settings app. Then try again and use a test account. You can create them in the iTunes connect page.

这篇关于Error Domain=SKErrorDomain Code=0 “操作无法完成.(SKErrorDomain 错误 0.)"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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