Issue with sandbox user and iTunes login

Currently I faced with an issue after any test payment using sandbox account.

The issue is "Sign in to iTunes" alert whch pop-ups aproximately once in 24 hours...

This blocks WebDriverAgent (which we are using for the automated testigng).

Did anyone faced with this issue and solved it in automatical way?

Thanks in advance!

This can be caused by a transaction left in the StoreKit queue for which you did not call finishTransaction.

Thank you for the answer, could you please tell me how can I check this queue? The purchase was successful (I saw the success alert).

When you addTransactionObserver the pending transactions come into updatedTransactions. I believe (but am not certain) that you can look at the pending transactions using this:


https://developer.apple.com/documentation/storekit/skpaymentqueue/1506026-transactions?language=objc

Issue with sandbox user and iTunes login
 
 
Q