Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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!

enter image description here

like image 744
yozhik Avatar asked Jul 12 '11 13:07

yozhik


Video Answer


1 Answers

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.

like image 109
OscarVGG Avatar answered Oct 13 '22 18:10

OscarVGG