I got a problem that I don’t know how to fix it. Please help!
When my app tries to purchase in sandbox, it always receives the error SKErrorUnknown. I have tried the ways mentioned in these threads but not work for me:
Apple In-App Purchase
SKErrorUnknown while testing in-app purchase
https://stackoverflow.com/questions/7670739/in-app-purchase-error-solving
I searched on google but still no help.
Does anyone know how to fix it?
- The app can get the product from AppStore successfully.
- The confirm dialog appears.
- After I click the “Buy” button, the app receives the error.
- The description of the error is “Cannot connect to iTunes Store.”
- I’m using XCode4.2
After I searched and tried for a whole day, finally @orazran gave me the answer:
JUST CREATE A NEW TEST ACCOUNT.
If anyone meets the problem again, please try this simple step first.