iOS:如何在iTunes上载Apple托管内容到应用内购买 [英] iOS: How to upload Apple Hosted content to In-app purchase in itunesconnect

查看:152
本文介绍了iOS:如何在iTunes上载Apple托管内容到应用内购买的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有非消耗品的购买,并希望与Apple托管.

I have Non-Consumable Purchase and want to host it with Apple.

它就像一本书,包含图像并使用JSON进行管理.如何上传?

It like a book, that contains from images and manages with JSON. How can I upload it?

推荐答案

Nirav的答案尚不清楚,就是要找到有效的软件包,在创建In- Xcode中的应用购买内容项目(即Xcode之后->新项目->其他->应用内购买)

What is not clear from Nirav's answer is that to get to the point where you have a valid package, you need to do two additional things after creating the In-App Purchase Content Project in Xcode (i.e. After Xcode -> New Project -> Other -> In-App Purchase)

添加内容文件后,必须首先存档项目,然后在管理器中找到应用内购买:

Once you have added your content files, you must Firstly Archive the Project, then locate the In-App Purchase in the Organizer:

然后

使用导出为安装程序包"选项导出项目

EXPORT the project using the "Export as an Installer Package" option

这会将存档作为PKG文件导出到桌面上的文件夹中.文件夹中有一个.pkg文件-这就是您需要添加为托管包内容"的内容

This exports the archive as a PKG file into a folder on your Desktop. Inside the folder is a .pkg file - this is what you need to add as the "Hosted Package Content"

关于此的Apple文档很少,而且不清楚创建PKG文件有多个步骤

Apple's documentation on this is scant and not very clear that there is multiple steps in creating the PKG file

这篇关于iOS:如何在iTunes上载Apple托管内容到应用内购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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