• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ios - 在 iTunes Connect 上上传产品内容时出错

[复制链接]
菜鸟教程小白 发表于 2022-12-12 13:34:41 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题

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

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

enter image description here



Best Answer-推荐答案


哈哈!

我明白了!

所以,我收到了完全相同的消息,除了我在提示“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>

关于ios - 在 iTunes Connect 上上传产品内容时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44607860/

回复

使用道具 举报

懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注0

粉丝2

帖子830918

发布主题
阅读排行 更多
广告位

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap