什么是应用程序加载器中的托管内容包? [英] What is Hosted Content Package in the Application Loader?
问题描述
我想为我的应用程序启用应用内购买.购买类型为非消耗品,我将 Host Content 标记为 Apple.当我想通过 Apple 托管内容时,我需要提供托管内容包.我找不到有关此内容包中应包含的内容的更多信息.除了它不应大于 2GB 且扩展名应为 .pkg.
我如何为其创建内容包?里面应该有什么?
如何在 Xcode 中创建应用内购买内容包(带有 .pkg 文件扩展名)?
创建 In-App Purchase 内容包:File -> New -> Project... -> Other (iOS) -> In-App购买内容.将创建新项目.
将数据放入此项目并选择:产品 -> 存档.存档完成后,选择分发....
大功告成.
这里写了很详细的解释:应用内购买示例>
I want to enable In App Purchase for my an application. The type of purchase is Non-Consumable and I mark Host Content with Apple. When I want to host content with Apple I need to provide Hosted Content Package. I can not find more information what should be inside this content package. Except that it should be not bigger than 2GB and extension should be .pkg.
How I could create Content Package for it? What should be inside it?
How I can create an In-App purchase content package in Xcode (with a .pkg file extension)?
To create In-App Purchase content package: File -> New -> Project... -> Other (iOS) -> In-App Purchase Content. New project will be created.
Put data to this project and choose: Product -> Archive. When archive is done choose Distribute....
And you are done.
Very detailed explanation is written here: In-App Purchase example
这篇关于什么是应用程序加载器中的托管内容包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!