【问题标题】:Error when uploading product content on iTunes connect在 iTunes Connect 上上传产品内容时出错
【发布时间】:2017-11-20 07:54:54
【问题描述】:

我正在研究用户购买时从 iTunes 下载内容的项目。但我无法使用应用程序加载器在 iTunes 上上传产品内容。上传时出现以下错误

错误:错误 ITMS-4000:“包不能包含两个具有相同名称‘mzl.kzekbupn.png’但大小或校验和不同的文件。”在软件/软件元数据/SoftwareInAppPurchase

【问题讨论】:

  • 所以寻找两个名为mzl.kzekbupn.png的文件...它们要么必须是完全相同的文件,要么重命名不同。
  • 包中实际上没有名为 mzl.kzekbupn.png 的文件。但如果 IAP 审查的屏幕截图出现错误,则两个上传的文件可能相同。
  • 上传的文件是指在iTunes商店和应用程序加载器上上传的截图
  • 实际文件名是什么?如果 mzl.kzekbupn.png 根本不存在,他们会如何列出它,这很奇怪。
  • 包中只有2个png文件,分别是icon.png和happy.png,但没有mzl.kzekbupn.png文件。我不确定这个错误是关于什么的。

标签: ios in-app-purchase app-store-connect application-loader


【解决方案1】:

哈哈!

我明白了!

所以,我收到了完全相同的消息,除了我在抱怨“screenshot.jpg”。

我上传了多个应用内购买,“screenshot.jpg”是供审核的屏幕截图:在应用加载器的应用内购买部分的“信息”选项卡中。它一定是在某个地方被损坏了或什么的。

App Loader 会创建一个包含所有应用内购买的 xml 文件(见下文),如果多次引用的文件的校验和存在差异,则会创建此错误。即使我已经停止使用“screenshot.jpg”,在创建 xml 文件时仍然会引用它。

所以,我的解决方案是通过应用程序的所有购买发布相同的屏幕截图。 App Loader

因此,在完成了我所有的应用内购买并添加了新的屏幕截图后,我能够顺利通过。

可能有一种更优雅的方式来访问 xml 文件,但我发布了对我有用的方法。

祝你好运!

            <in_app_purchase>
                <locales>
                    <locale name="en-US">
                        <title>Shakespeare: Antony and Cleopatra</title>
                        <description>A Shakespeare classic.</description>
                    </locale>
                </locales>
                <review_screenshot>
                    <file_name>screenshot.jpg</file_name>
                    <size>74368</size>
                    <checksum type="md5">d41d8cd98f00b204e9800998ecf8427e</checksum>
                </review_screenshot>
                <read_only_info>
                    <read_only_value key="iap-status">Ready to Submit</read_only_value>
                </read_only_info>
                <product_id>scenerunner.scenerunner.antony_and_cleopatra</product_id>
                <reference_name>Shakespeare: Antony and Cleopatra</reference_name>
                <type>non-consumable</type>
                <products>
                    <product>
                        <cleared_for_sale>true</cleared_for_sale>
                        <intervals>
                            <interval>
                                <start_date>2017-06-22</start_date>
                                <wholesale_price_tier>3</wholesale_price_tier>
                            </interval>
                        </intervals>
                    </product>
                </products>
                <has_hosted_content>true</has_hosted_content>
                <software_assets>
                    <asset type="in-app-purchase-content">
                        <data_file>
                            <file_name>Antony_and_Cleopatra.pkg</file_name>
                            <size>78782</size>
                            <checksum type="md5">44c282b4fe09115b7d8ed0f6415a215a</checksum>
                        </data_file>
                    </asset>
                </software_assets>
            </in_app_purchase>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-11-01
    • 2011-09-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-04
    相关资源
    最近更新 更多