How to create a product id for in app purchases

亡梦爱人 提交于 2019-12-11 06:05:57

问题


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?


回答1:


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.




回答2:


Go ahead and create your in-app purchase with your product Id of choice, just don't upload a screen grab (used strangely only for the review process) and it will all work.

You will need to create a new application and submit a build, but you can reject it straight away - in app purchasing needs to know the bundle id of your app otherwise it would not be able to create the required relationship.



来源:https://stackoverflow.com/questions/1756738/how-to-create-a-product-id-for-in-app-purchases

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