iOS:如何将 Apple Hosted 内容上传到 itunesconnect 中的应用内购买 [英] iOS: How to upload Apple Hosted content to In-app purchase in itunesconnect

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

问题描述

我购买了非消耗品并希望通过 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:如何将 Apple Hosted 内容上传到 itunesconnect 中的应用内购买的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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