SKErrorDomain Code=0 “Cannot connect to iTunes Store” SKErrorDomain Code=0 “Cannot connect to iTunes Store” objective-c objective-c

SKErrorDomain Code=0 “Cannot connect to iTunes Store”


This can happen because of the two problems i guess.

  • Make sure you have placed the correct "Product Identifier".If that's the case, then you'll get error 0 shortly after calling -[SKPaymentQueue addPayment:], before you get the popup asking you to confirm payment.

  • Your test user has become invalidated. This can happen if you accidentally log into the App Store with your test user. When this happens, you'll get error 0 after entering your password to confirm your payment.

To fix problem #1, pass in the correct product ID. To fix problem #2, create a new test user on iTunes Connect, and optionally delete the old test user.

Hope this helps you.


I was getting the same error while testing subscriptions, was able to get it to work by adding a Localization (Subscription Display Name and Description) to the product from iTunes connect.


Check if you sign out of the iTunes Store.To sign out, follow these steps:

  1. Open the Settings App
  2. Tap the “Store” row
  3. Tap “Sign Out”