How do I test In-App Purchase using Simulator?

I am no longer able to test In-App Purchases with Simulator for iOS 12. When I leave the iTunes account setting off, my sandbox account won't connect to iTunes with the error object reporting error message "Cannot connect to iTunes Store". When I try to put my sandbox account in the iTunes account setting, I get a message that says, "There was a problem connecting to the server."

Answered by PBK in 348434022

Apple has stated multiple times that IAP must be tested on a device not on the simulator. There have been versions of iOS and MacOS that have allowed you to test IAP in the simulator - but that is the rare gift rather than something to be expected.

Accepted Answer

Apple has stated multiple times that IAP must be tested on a device not on the simulator. There have been versions of iOS and MacOS that have allowed you to test IAP in the simulator - but that is the rare gift rather than something to be expected.

How do I test In-App Purchase using Simulator?
 
 
Q