Here's an answer to the part of your question regarding signing in. There are 3 ways of testing in-app purchases, as I understand it: (1) in Xcode; (2) with the Sandbox; and (3) in TestFlight. [I am assuming you are not trying to set up your own server, but are making purchases from an app on your device.' I think you may be confusing the first two methods. To test in Xcode, you supply a .StoreKit Configuration file and select the file on the Product / Scheme / Edit Scheme page in Xcode. This lets you test locally on the simulator and does not use a sandbox account. To test with Sandbox you disable the .StoreKit Configuration file by selecting none in the Xcode Product / Scheme / Edit Scheme page. Then you must define products in App Store Connect (this will be the real data that you previously emulated in the .storekit file) and also create a Sandbox tester account in App store Connect. Now you must test by running from Xcode on your dev
Topic:
App & System Services
SubTopic:
StoreKit
Tags: