How to use the sandbox user on MacOS app to test IAP?

Viewed 264

As usual, all the existing answers on Stackoverflow relate to iOS and nothing is out there for MacOS.

  • I have signed out of Mac AppStore.
  • When I try to attempt a IAP purchase on my app I get this error message shown:

Account Not In This Store Your account is not valid for use in the U.S. store.

You must switch to the U.K. store before purchasing.

[Environment: Sandbox]

I have created fresh Sandbox users, but the app is not asking me to enter them. And based on the documentation of Apple I shouldn't enter them into the AppStore login or I get them wasted.

I have deleted the ~/Library/Containers/app-bundle-id, rebooted the dev machine and cleared once again the build folder. But I can't get it working.

How do I get a prompt for entering the sandbox user?

Any advice would be appreciated.

0 Answers
Related