问题
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