Hi,
I've implemented a custom StoreKit2 manager, which can handle nonConsumable and autoRenewable products. All works as expected on the developer machine.
Problem 1: But when I archive the build, distribute to TestFlight, change to a new system user without Apple ID and starting the app, a login popup appears. There I enter the login data from App Store Connect Sandbox User and a message pops up:
If I hit the "Change Store" button, another message pops up which says (in German): "Connection to App Store not possible".
Problem 2: Also the paywall shows the translated text for the German test user, but the products are not using their translations.
Here is what I did:
- I've setup 1 nonConsumable product and 2 autoRenewable products in App Store Connect
- I've translated the products for US in English(default) and German
- In Xcode I created a synced Products.storekit file
- The storekit file syncs with App Store and shows all product data and translations correctly
- In the build scheme I've added the Products.storekit file under Options for "StoreKit Configuration"
- For every TestFlight build I change the build number
On the developer machine:
- With the storekit file selected, I can change the default Storefront and default localisation through menu entry Debug
- all data shows correctly and purchasing is possible. Everything works as expected
On the test machine:
- it does not work and shows the dialogs with the title "Account Not in this Store"
What am I missing here?
Thanks for your help!
Arne