错误域= SKErrorDomain code = 0“操作无法完成。 (SKErrorDomain错误0。)“ [英] Error Domain=SKErrorDomain Code=0 “Operation could not be completed. (SKErrorDomain error 0.)”
问题描述
我正在使用应用程序内购买。我试图从的AppleStore让我的所有交易。请求后,我赶上了错误code:
I'm working with In App Purchase. I'm trying to get all my transactions from AppleStore. After request, I catch an error code:
请求错误错误域= 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.
这篇关于错误域= SKErrorDomain code = 0“操作无法完成。 (SKErrorDomain错误0。)“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!