Error Domain=SKErrorDomain Code=0 “Operation could not be completed. (SKErrorDomain error 0.)”

▼魔方 西西 提交于 2019-11-30 23:48:02

问题


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

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

[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];

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!


回答1:


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.



来源:https://stackoverflow.com/questions/6664778/error-domain-skerrordomain-code-0-operation-could-not-be-completed-skerrordom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!