Payment queue observer returns “Cannot connect to iTunes Store” error, why?

送分小仙女□ 提交于 2019-12-11 20:52:45

问题


func paymentQueue(queue: SKPaymentQueue!, updatedTransactions transactions: [AnyObject]!)

delegate method delivers "Cannot connect to iTunes Store" error. Why? I try to set up In-App purchase. Anything wrong in iTunes Connect setting? I am following this tutorial.

I am testing on real device. I get the error message before blue popup to authenticate myself as testuser.

I might have problem with my profession profiles? To distribution profile no devices is attached?


回答1:


Sign out in App Store and try the In-App purchase again. Then try with test user.




回答2:


You cant test IAP with your real account. First you must sign out and sign in with test account that you create in itunnes (sandbox).



来源:https://stackoverflow.com/questions/26507849/payment-queue-observer-returns-cannot-connect-to-itunes-store-error-why

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!