In App Purchase works in simulator but not on iPhone

淺唱寂寞╮ 提交于 2019-12-10 18:58:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!