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

后端 未结 4 2497
北海茫月
北海茫月 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:33

    I'll answer this in case someone else also comes up against this. I have an app in the app store that was built using the tutorial mentioned in the question, and it performs flawlessly. Unfortunately, in my experience the reliability of the Apple Sandbox servers can be iffy, with no obvious place to check online aside from posting to the Apple forums and hoping for a corroborative reply.

    As others have said on StackOverflow, the key is to make sure that:

    1. You create at least one test user account at itunesconnect.apple.com
    2. Make sure that there is NO credit card associated with the test account
    3. DO NOT sign into iTunes on your test device with the test account. Instead, SIGN OUT of any iTunes Store account you are signed into. Then try purchasing an IAP. It will ask for your username and password - give it your test username(s).

提交回复
热议问题