inAPP购买测试流程
我正在疯狂测试我的应用程序的应用内购买功能。我无法获得任何有效的产品。
我会尝试在这里提出一些问题,希望有人能回答。
我是否必须在 iTunes connect 上上传测试应用程序的二进制文件?我的应用程序从未在应用程序商店中发布过,它是一个刚刚测试的全新应用程序。
如果我必须上传二进制文件,我会上传分发签名的二进制文件。现在,我必须在测试中使用相同的二进制文件(分发签名)吗?或者我可以使用开发人员二进制文件?
我已经检查了很多很多次所有关键和已知问题,例如 Boundle ID、税务信息、清除出售复选框以及所有这些内容。它们都很好。
添加 iAP 产品后,它被标记为“等待审核”,这是正确的还是我应该等待它更改状态才能看到它有效?
I'm going crazy testing my app for inApp purchase. I cannot get any valid product.
I'll try to make some questions here, hope someone could answer.
Do I have to upload the binary of my test app on iTunes connect? My app has never been published in app store, it's a brand new app just in test.
If I have to upload binary, I upload a Distribution signed binary. NOW, do I have to use the same binary (Distribution signed) on my tests? Or I can use a developer binary?
I've checked many and many times all critical and known problems like boundle ID, taxes info, Clear for sale checkbox and all these things. They are all ok.
After adding an iAP product, it is marked "Waiting for Review", is this correct or I should wait it change state before I can see it as valid?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(9)
在 SANDBOX 环境中测试应用内购买之前,无需提交应用程序二进制文件。
应用内购买产品将显示“准备提交”。
There is no need what-so-ever to submit the application binary before testing in-app-purchase in SANDBOX environment.
The In-App-Purchase product'll 've state READY TO SUBMIT.
我有同样的问题。
对我来说,结合起来帮助了两件事:
但在常见问题解答 6 中列出了此问题的更多原因:
您没有完成所有财务要求(请参阅本文档的“合同、税务和银行信息”部分)。
您没有使用显式应用 ID。
您没有使用与您的显式应用 ID 关联的配置文件。
希望这会对你们中的更多人有所帮助。
i had the same problem.
for me helped 2 things in combination:
But in FAQ 6 are some more reasons for this problem listed:
You did not complete all the financial requirements (see the "Contracts, Tax, and Banking Information" section of this document).
You did not use an explicit App ID.
You did not use the Provisioning Profile associated with your explicit App ID.
hope this will help some more of you.
不要理会所有围绕应用内购买的巫毒建议,苹果官方 技术说明 TN2259 详细描述了所有步骤......并且它有效。
Don't bother with all of the voodoo suggestions surrounding in-app purchases, the official Apple Technical Note TN2259 describes all the steps in detail... and it works.
您不必上传二进制文件。您可以在 iTunes Connect 中设置您的应用程序,然后设置与其关联的产品。您的产品上的“等待审核”将一直等待审核,直到您提交二进制文件并提交应用程序并获得批准。但是,即使您的产品“等待审核”,您仍然可以进行测试。有一个过渡状态(IIRC),作为开发人员,您必须在测试后将您的产品标记为已批准。
注意:在 iTunes Connect 中创建应用程序后,您有 90 天的时间提交二进制文件,然后他们会从您手中夺走您的应用程序名称。
注意 2:在提交之前使用调试版本进行测试时,您必须使用开发沙箱服务器。有关详细信息,请参阅 IAP 文档。
You do not have to upload a binary. You can set up your app in iTunes Connect, and then set up your products associated with it. The "Waiting For Review" on your products will stay waiting for review until you submit a binary and submit the app and it gets approved. You can still test, however, even with your products "Waiting For Review". There is (IIRC) a transitional state which you as developer must mark your products as approved after you have tested them.
Note: Once you create the app in iTunes Connect, you have 90 days to submit a binary before they take your app name away from you.
Note 2: When testing with your debug build before submission, you have to use the development sandbox servers. See the IAP documentation for more info.
我也花了太多时间在这个确切的问题上..
您无需上传二进制文件即可进行应用内购买测试,这意味着在 iTunes connect 中您无法将其他产品添加到 iTunes 货架上的现有产品中。例如,如果您的应用程序已上线且版本为 1.0,并且 v1.0 提交时仅包含一项与其相关的应用程序内购买,则 v1.0 永远不可能有第二个应用程序内产品,以添加第二个(或更多) )在应用程序产品中,您需要重新提交,升级到 1.01 或其他版本。我忽略的关键事情是,我希望这会有所帮助,那就是您必须使用为相关应用程序制作的配置文件,而不是 xCode 的小助手向导默认构建内容的通用配置文件。尝试一下
I spent waay too much time on this exact problem too..
you do not need to upload a binary to get the in app purchase testing, what that means in iTunes connect there is that you cant add additional products to an existing product on the iTunes shelves. For example if your app is live and at version 1.0, and v1.0 was submitted with only one in app purchase connected with it, there can never be a 2nd in app product for v1.0, to add a 2nd (or many more) in app products you need to resubmit, go up to 1.01 or whatever. The key thing that I was overlooking, and I hope this helps, is YOU MUST BE USING A PROVISIONING PROFILE FOR THAT IS MADE FOR THE APP IN QUESTION, not the generic profile that xCode's little helper wizard thing just builds stuff on by default. Try that
如果您在应用程序内购买 (IAP) 方面遇到困难,请确保正确完成一些操作,
完成所有这些后,您应该能够使用这些测试帐户进行应用内购买。几发后就可以了对我而言。
Those of you having trouble with In-App Purchase (IAP) make sure a few things are done correct,
Once all these are done you should be able to make In-App purchases using those test accounts. It worked after a few hair pull-offs for me.
确保项目捆绑 ID 与在 itunesconnect 中注册的应用程序相同。
Ensure that the project Bundle ID is the same as the registered for the application in itunesconnect.
我在发布我的应用程序之前尝试测试......
这发生在我身上...
-我的应用内购买产品已准备好提交。但我无法收到获取请求。无法测试。
-当我首先存档我的应用程序时,我可以开始测试...
因此需要存档才能在应用程序购买中进行测试
I was trying test before release my application...
that was happened to me...
-My in app purchase product was ready to to submit. But I could not get fetch request. could not tested.
-When,firstly i archive my app, I could start testing...
So archiving up required to test in app purchase
第一次设置应用内购买是一件非常令人头疼的事情。我相信您确实需要在 iTunes Connect 中提交二进制文件。只需提交它,然后立即“开发人员拒绝”它。如果不起作用,请等待几个小时或一天,然后看看它是否起作用。另外,请确保在 iTunes Connect 中为应用内购买勾选“已批准出售”。
编辑:您应该提交分发二进制文件,但可以继续使用您的开发二进制文件进行测试。
Setting up In-App purchases for the first time is a huge headache. I believe that you do need to submit a binary in iTunes Connect. Just submit it and then "developer reject" it right away. If it doesn't work then, wait a few hours or a day and then see if it works. Also, make sure that you check off "Cleared for Sale" for your In-App purchase in iTunes Connect.
EDIT: You should submit a distribution binary but may continue to test with your development binary.