本文介绍了测试应用内购买Iphone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为报摊编写一个免费订阅的应用程序,但我正在使用的产品标识符在提出请求时总是回到无效集中。

I am writing an app for newsstand with free subscription but the product identifier i am using always comes back in the invalid set when making the request.

我用过本教程:

我有:

1)创建了一个Appid(fsfe4.com.myapp.myappdesc)

1) created an Appid (fsfe4.com.myapp.myappdesc)

1a)签署付费的ios app合同并填写银行/ tax info

1a) signed the paid ios app contract and filled in the banking/tax info

2)将该appid作为plist中的包ID(com.myapp.myappdesc)放入

2) put that appid as the bundle id (com.myapp.myappdesc) in the plist

3)下载的开发人员和distrubtion配置文件(开发人员配置文件没有通配符)

3) downloaded developer and distrubtion provisioning profiles (developer profile does not have wildcard)

4)更新了代码签名标识(Debug和'Any IOS SDK')有iPhone开发人员参考我创建和下载的开发人员资料)

4) updated the code signing identity (both the Debug and 'Any IOS SDK' has the iPhone developer referencing the developer profile i created and downloaded)

5)添加了代码

6)在itunes connect上创建并添加了该应用的信息(打开报刊亭,上传照片并填写所有信息)

6) created and added info for the app on itunes connect (turned newsstand on, uploaded photos and filled out all the info)

7)已编译并存档了xcode项目,将其上传到itunes connect,拒绝了二进制文件。

7) compiled and archived the xcode project, uploaded it to itunes connect, rejected the binary.

8)创建了应用内购买(免费订阅),并将其附加到'视图中详细信息'应用程序的一部分。

8) created the in app purchase (free subscription), and attached it in the 'view details' part of the application.


  • 我收到此通知:
    必须提交应用程序的首次应用程序内购买在提交应用版本的同时进行审核。您必须在版本详细信息页面上执行此操作。上传二进制文件并提交第一次应用内购买以供审核后,可以使用下表提交其他应用内购买。请注意,免费的应用程序内购买订阅只能与为报亭启用的版本一起提交。
    我不完全确定这意味着什么。

9)等24小时

10)再次尝试没有运气

10) tried again with no luck

我已经重新存档,上传和拒绝了我的应用程序几次。我没有改变itunes connect中的#版本,但我认为这不重要。

I have re-archived,uploaded and rejected my app a couple of times. I haven't changed the version # in itunes connect but i don't think that should matter.

根据Apple的指南,它特别说我不应该上传二进制并拒绝它:

According to Apple's guide it specifically says that I should not have uploaded the binary and rejected it:


  • 重要在应用程序准备好之前,不要将开发二进制文件上传到iTunes Connect App Review批准。如果二进制文件存在于iTunes Connect中并且它不是
    全功能,则App Review将检查二进制文件并可能拒绝开发二进制文件。如果您或App Review在iTunes Connect中拒绝您最近的
    二进制文件,则在App Purchase中进行测试将失败。在这种情况下,解决方法是上传没有In App Purchase功能的二进制文件,这些功能可以获得App Review的批准。
    一旦二进制文件获得批准,就可以使用In App Purchase功能继续测试二进制文件。

  • Important DO NOT upload the development binary to iTunes Connect until the application is ready for App Review approval. If the binary is present in iTunes Connect and it is notfully functional, App Review will review the binary and likely reject the development binary. Testing In App Purchase will fail if you or App Review reject your most recent binary in iTunes Connect. The workaround in this case is to upload a binary without In App Purchase features that can get approved by App Review. Once the binary is approved, resume testing the binary with In App Purchase features.

这违背了所有其他教程我看到。有没有办法删除二进制文件,使其恢复到预先上传的二进制状态,以便我可以测试?我应该删除应用程序并重新开始?如果我删除它,我可以使用相同的包ID和相同的应用程序名称吗?

That goes against every other tutorial i have seen. Is there a way to remove the binary to get it back to the pre uploaded binary state so that I can test? should i just delete the app and start over? if I do delete it can I use the same bundle id and same app name?

推荐答案

问题是我没有从设备中删除应用程序并在我通过。

The problem was that I didn't delete the app from the device and reinstall it after i had gone through the checklist here.

浪费了太多时间。叹气。

So much time wasted. Sigh.

这篇关于测试应用内购买Iphone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-09 21:26