菜鸟教程小白 发表于 2022-12-13 12:19:41

iOS App Upload 收到 CFBundleShortVersionString 错误消息


                                            <p><p>所以我正在尝试将我的应用上传到应用商店,但我收到了此错误消息。</p>

<p>错误 ITMS-90060:“此 bundle 无效。Info.plist 文件中键 CFBundleShortVersionString 'HEAD based on 1.0' 的值必须是最多三个非负整数的句点分隔列表。”</p>

<p>如果我打开它给我的日志,你可以清楚地看到版本短字符串是正确的。</p>

<pre><code>&lt;software_assets apple_id=&#34;456805313&#34;
      bundle_short_version_string=&#34;27.1.1&#34;
      bundle_version=&#34;3221&#34;
      ....
&lt;/software_assets&gt;
</code></pre>

<p>我错过了什么?!?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>我在我的项目中使用了 pod,在 <code>pod SVWebViewController</code> <code>CFBundleShortVersion</code> 的 <code>info.plist</code> 中不是标准方式。<br/>
您需要在 <code>info.plist</code> 文件中找到非标准的 <code>CFBundleShortVersionString</code>。我搜索了所有这些并在其中一个仓库中找到了这个</p>

<p><strong>之前</strong> </p>

<pre><code>Bundle versions string, short =&gt; Head is 0.1.2
</code></pre>

<p><strong>之后</strong> </p>

<pre><code>Bundle versions string, short =&gt; 0.1.2
</code></pre>

<p>更正<code>CFBundleShortVersion</code>后一切正常。</p></p>
                                   
                                                <p style="font-size: 20px;">关于iOS App Upload 收到 CFBundleShortVersionString 错误消息,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/34097963/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/34097963/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: iOS App Upload 收到 CFBundleShortVersionString 错误消息