[SOLVED] Apple In App Purchase working only on store version, and not working on xcode build after updating to iOS 16

Issue

This Content is from Stack Overflow. Question asked by Zeyad.Ahmed

I’m restoring purchase for the account, when I call SKPaymentQueue.default().restoreCompletedTransactions() to get the completed transactions, none of the delegate or observer methods are called, which are working well on pre iOS 16, and this happens when running application using xcode.

-When I tried the store version, and tried to restore purchases, It is working fine on iOS 16



Solution

We hit this same issue. The ‘fix’ on our end is to enable sandbox accounts on the devices that are running non-store builds.


This Question was asked in StackOverflow by Zeyad.Ahmed and Answered by Michael Duwé It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?