Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In App purchase in iOS suddenly stop working ( Error code=5002 occurred )

It seems that the storekit does not work in the simulator any longer. I quote from storekit docs:

Note: Store Kit does not operate in iOS Simulator. When running your application in iOS Simulator, Store Kit logs a warning if your application attempts to retrieve the payment queue. Testing the store must be done on actual devices.

Store Kit Docs


If you are testing on real device, make sure it is not JB. If you are testing on simulator, make sure you are running iOS 6.0 or above, lower version of simulator doesn't work, I wasted a whole day to figure this out...


It has been stopped working on simulator. try to use it on real device. It will work fine.