无法获取In-App-Purchase托管内容实际托管 [英] can't get In-App-Purchase hosted content to be actually hosted

查看:132
本文介绍了无法获取In-App-Purchase托管内容实际托管的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有应用程序内购买的iPad应用程序,过去常常使用Urban Airship(他们家的痘)来托管其内容。现在我正在尝试将其转换为使用Apple的托管内容。

I have an iPad app with In-App Purchase that used to host its content with Urban Airship (a pox upon their house). Now I'm trying to convert this to use Apple's hosted content.

我为我的一个内容项创建了一个.pkg文件,并使用了Application Loader(多个现在时间)上传内容。包通过了验证,我点击了Deliver,然后我看了进度条,因为它是将包上传到iTunes Store。在此项目的托管内容标签中,Apple内容主机内容已经过清晰检查,托管内容套餐:会显示标准套餐图标。

I've created a .pkg file for one of my content items, and used Application Loader (multiple times now) to upload the content. The package passed validation, I clicked "Deliver," and I watched the progress bar as it was "Uploading package to the iTunes Store." In the "Hosted Content" tab for this item, "Host Content with Apple" is clearly checked, and the "Hosted Content Package:" well shows the standard package icon.

然而,当我在iTunes Connect上查看相同的应用程序,并进入应用程序内购买并查看相同的内容项时,它会说:使用Apple托管内容:此功能已关闭。 (这里没有提供关于如何打开它的提示。)

Yet, when I look at the same app on iTunes Connect, and go to In-App Purchases and view the same content item, it says: "Hosting Content with Apple: This feature is turned off." (And no hints are provided here as to how one might turn it on.)

在我的代码中,当我从StoreKit返回SKProduct时,我发现downloadContentVersion和downloadContentLengths都是零。当我使用测试帐户购买它时,我得到一个SKPaymentTransaction,其.downloads也是零。如果我退出并重新启动Application Loader,则主机内容与Apple复选框现在未选中。这可能与Apple没有意识到他们现在正在托管这些内容的事实有关。

In my code, when I get back the SKProduct from StoreKit, I find that downloadContentVersion and downloadContentLengths are both nil. And when I purchase it anyway using a test account, I get a SKPaymentTransaction whose .downloads is also nil. And if I quit and relaunch Application Loader, the "Host content with Apple" checkbox is now unchecked. This is all probably related to the fact that Apple doesn't realize they are now hosting this content.

也许生活更加艰难,因为这不是一个新的应用程序或新的内容项目;这些都很久以前就被批准了,我正在尝试将它们更新为新模型。但我当然不想为此创建一个新的应用程序。我错过的关键步骤是什么让Apple服务器真正托管这些内容?

Perhaps life is more difficult because this is not a new app or new content item; both of these were approved long ago, and I'm trying to update them to the new model. But I certainly don't want to create a new app just for this. What's the key step I'm missing that makes the Apple servers actually host this content?

推荐答案

我必须审核我的iOS付费应用协议。这意味着进入iTunes连接 - 然后合同,税务和银行点击请求按钮并接受所有更改...

I had to "review" my "iOS Paid Applications Agreement". This means going to iTunes connect - then "Contracts, Tax, and Banking" click the "Request" button and accept all the changes...

此后每个问题都是不见了。从这个stackoverflow网站得到答案:

After this every problem was gone. Got the answer from this stackoverflow site:

更新iOS应用程序协议

我的问题与您的问题不太相似,但我已经阅读了类似的帖子,并为我提供了相同的解决方案。试试看。希望它可以帮助您或其他任何人:)

My problem wasn't similar to yours but I have read similar so posts with the same solution that did it for me. Try it out. Hope it helps you or anyone else :)

这篇关于无法获取In-App-Purchase托管内容实际托管的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆