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

ios - Flash Builder iOS 导出发布错误 Invalid format versionLabel


                                            <p><p>直到今天,我一直在发布我的应用程序(桌面、Android 和 iOS)。没有任何明显的原因,我不断收到相同的错误消息:</p>

<blockquote>
<p>Error occurred while packaging the application: <br/>
Warning:<code>Invalid format specified &lt;versionLabel&gt; tag</code>. Ignoring its value.</p>
</blockquote>

<p>我可以发布桌面和 Android 软件包,但不能发布 iOS!</p>

<p>从逻辑上讲,错误信息是错误的。</p>

<p>我正在使用 Windows 10 和 Flash Builder 4.7。</p>

<p>请帮忙! </p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>我不为 iOS 打包,而是通过对您的问题的快速研究...</p>

<p>(1)
如果您将版本号设置为 <code>1.2.3.4.5</code> 等,那么它实际上必须是 <strong>only</strong> 为:<code>1.2.3</code></p>

<blockquote>
<p>From AIR 18 SDK onwards, </p>

<ul>
<li>the value of <strong>versionLabel</strong> is mapped to <code>CFBundleShortVersionString</code> </li>
<li>the value of <strong>versionNumber</strong> is mapped to <code>CFBundleVersion</code>.</li>
</ul>
</blockquote>

<p>请参阅 Apple 文档:<a href="https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-111349" rel="noreferrer noopener nofollow"><strong><code>CFBundleShortVersionString</code></strong></a>还有<a href="https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/20001431-102364" rel="noreferrer noopener nofollow"><strong><code>CFBundleVersion</code></strong></a> </p>

<p>注意<em>“发布版本号是一个由三个句点分隔的整数组成的字符串”</em>和警告<em>“此key的值与<code>的值不同CFBundleVersion</code>"</em></p>

<p>(2) 尝试更新到最新的 AIR SDK(有时这些问题已经在新版本中得到修复)。</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - Flash Builder iOS 导出发布错误 Invalid format versionLabel,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/42916255/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/42916255/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - Flash Builder iOS 导出发布错误 Invalid format versionLabel