Hi there,
I've run into the following problem: when attempting to make a test purchase in our new game, I get the following error: "Unable to purchase: Cannot connect to iTunes Store"
The precise error we're getting is:
Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store"
Now, all the iAP objects are being received correctly by the productsRequest in the delegate, but on every device we've tried (iPad Air w/iOS 9.01, iPad 4 w/iOS 8, iPhone 6+ w/iOS 9.1, and a few others) we get the same issue when attempting to make an actual purchase.
This whether we build it with Xcode 7 stable or the latest beta (for our 9.1 device).
I have confirmed that our provisioning profile is for the correct bundle ID and that we're using the correct sandbox user created in iTunes Connect.
Googling the issue, I've found a few references to it being Apple's sandbox environment that is down, but I've got no way to confirm this and haven't seen anyone else complaining about the same issue.
Any suggestions?
Thanks,
Rohan
One reason for getting this error is that your app is directing itself to the production website not the sandbox website and it suddenly realizes its not supposed to do that. So please confirm that you
- DELETED old builds of the app from your device and
- logged out of the app store before
- reinstalling your app on a device (not the simulator)
- from Xcode.