Expected sequence when using iTunes test user

前端 未结 7 2548
梦如初夏
梦如初夏 2020-12-13 07:26

I\'m trying to test in app purchases in our app but I\'m not having any luck. Part of the problem may be due to the expected sequence not being documented anywhere. Here a

7条回答
  •  旧时难觅i
    2020-12-13 08:10

    Here is the trick (at least if worked for me..).

    First log out of your real iTunes account in Settings > Store > Apple ID. You must be logged out of an account to be able to use your test account.

    However, don't log in to your test account on that screen.

    Go to the app, initiate your in-app purchase, and enter the test account email and password there. Assuming the test account is set up correctly (!), that should work.

    Then, when finished testing, go back to Settings > Store > Apple ID and log out of the test account.

提交回复
热议问题