菜鸟教程小白 发表于 2022-12-11 19:25:53

ios - itunesconnect iTMSTransporter hell - 在应用程序购买批量上传停止工作


                                            <p><p>这个很棒的功能称为通过 csv 批量上传应用内购买项目 -
到目前为止,通过 Application Loader 可用,已被 Apple 从 XCode 9 及更高版本中删除。我尝试了一些以前版本的应用程序加载器 (2.9.1),但它们也缺少此功能。</p>

<p>今天我有大约 50 个 IAP 项目,我在命令行 iTMSTransporter 上苦苦挣扎,但无法以任何方式解决它。 </p>

<p>在 itunesconnect 上输入一些测试 IAP 产品后,我得到了 itms (XML) 文件,但无法将其上传回 itunesconnect 后添加我的其他 IAP 项目。</p>

<ul>
<li><p>如果我跳过提供 IAP 屏幕截图,它会提示缺少屏幕截图。</p></li>
<li><p>如果我提供与 iTMSTransporter 位于同一文件夹中的现有有效文件名,则会返回错误:</p>

<p>1.png 来自 Apple 请求的文件列表,但在本地找不到。</p></li>
</ul>

<p>我已经有 <a href="https://stackoverflow.com/questions/36332511/application-uploader-error-for-in-app-purchase-content-ios" rel="noreferrer noopener nofollow">tried naming it same on portal</a>和我的本地存储,但无济于事。</p>

<p>为什么 Apple 不能让开发者的生活变得足够简单,让开发者支付 30% 的血汗钱?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>这里要做的关键是:</p>

<ul>
<li><strong>不要把截图文件</strong>和itms xml放在同一文件夹下</li>
<li>但是把它放在 <strong>itms 里面</strong>(因为 itms 是一个包,就像 zip 文件一样)。</li>
</ul>

<p>为测试 IAP 项目指定了与在 itunesconnect 中手动上传的相同的屏幕截图文件名(在 review_screenshot 部分下的元数据 xml 中),以下命令就像一个魅力:</p>

<pre><code>iTMSTransporter -m upload -u &#34;[email protected]&#34; -p &#34;mypassword&#34; -vendor_id &#34;&lt;itunes connect product id&gt;&#34; -f &lt;path to itms package that contains metadata xml AND screenshot file&gt;
</code></pre></p>
                                   
                                                <p style="font-size: 20px;">关于ios - itunesconnect iTMSTransporterhell- 在应用程序购买批量上传停止工作,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/47745012/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/47745012/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - itunesconnect iTMSTransporter hell - 在应用程序购买批量上传停止工作