How check sandbox server status? (“Cannot connect to itunes store”)

后端 未结 4 2500
北海茫月
北海茫月 2021-02-20 06:14

I\'m developing in-app purchase using this excellent tutorial: http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial and I\'m getting an error \"

4条回答
  •  梦如初夏
    2021-02-20 06:41

    I got the "Cannot connect to itunes store" error when using a tester sandbox account. The problem was I had signed in on my iPhone with that account and confirmed the email address associated with the test account.

    I solved the problem by creating a new tester account under Users and Roles in Itunes Connect and never sign in on my device with the account.

    The reason for the error in my case was that when I confirmed the email address, the account was registered as a production account in AppStore and it did not work as a sandbox account anymore.

    So if you sign in on your device once, the account will be registered as a production account and even if you sign out again, that account won´t work in the sandbox.

提交回复
热议问题