如何为应用内购买创建产品ID [英] How to create a product id for in app purchases
问题描述
我正在尝试在我的iPhone应用程序的应用程序购买中测试,我看到如何设置测试用户,但我不知道如何创建我可以使用的产品ID。我不想在未经测试的情况下将我的应用程序提交到应用程序商店,但似乎您必须提交才能管理应用内购买?我做错了什么?
I am trying to test in app purchases for my iPhone App and I see how to setup test users, but I am not sure how to create a product id that I can use. I do not want to submit my app to the app store without testing, but it seems like you have to submit in order to manage in app purchase? What am I doing wrong?
推荐答案
你的bindle id是否包含通配符?您必须在iTunesConnect中创建新应用,但捆绑ID不能包含*。它必须是com.yourcompanyname.yourappid。原因是应用内购买的产品ID必须绑定到特定的应用包ID,而不是通用的。
Does your bindle id contain a wildcard? You must create a new app in iTunesConnect but the bundle id cannot contain an *. it must be "com.yourcompanyname.yourappid". The reason is that the product id for in app purchase must be tied to a specific app bundle id and not a generic one.
这篇关于如何为应用内购买创建产品ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!