问题
When I call SKProductsRequest for an in-app purchase on the Simulator title, description, price and ID all come back correctly from iTunes Connect. When I run it on my device, I get invalid product ID.
Any idea why?
回答1:
I was having same problem. I couldn't test it because my iPad was jailbroken. I removed AppSync, and now it works fine! :)
回答2:
If you delete the app from your iPhone and reinstall, it works. THis matters if you've submitted a previous version of the app for review. Thanks everyone.
来源:https://stackoverflow.com/questions/7837019/in-app-purchase-works-in-simulator-but-not-on-iphone