上传到 App Store 时 iOS 缺少所需的图标文件
<p><p>我使用 <a href="http://ionicframework.com/" rel="noreferrer noopener nofollow">Ionic</a> 构建了一个 iOS 应用程序和 <a href="http://cordova.apache.org/" rel="noreferrer noopener nofollow">Cordova</a> ,然后最终使用了<a href="https://build.phonegap.com" rel="noreferrer noopener nofollow">PhoneGap Build</a>打包应用程序。但是,当我尝试将应用上传到 App Store 时,出现以下错误:</p>
<p> <a href="/image/UMTut.png" rel="noreferrer noopener nofollow"><img src="/image/UMTut.png" alt="enter image description here"/></a> </p>
<p>首先我不明白第一个错误是什么意思,有一个 icon.png 文件。此外,其他图像也包含在包中。这是我定义图标的 config.xml 文件:</p>
<pre><code><platform name="ios">
<icon src="resources\ios\icon\icon.png" width="57" height="57"/>
<icon src="resources\ios\icon\[email protected]" width="114" height="114"/>
<icon src="resources\ios\icon\icon-40.png" width="40" height="40"/>
<icon src="resources\ios\icon\[email protected]" width="80" height="80"/>
<icon src="resources\ios\icon\icon-50.png" width="50" height="50"/>
<icon src="resources\ios\icon\[email protected]" width="100" height="100"/>
<icon src="resources\ios\icon\icon-57.png" width="57" height="57"/>
<icon src="resources\ios\icon\icon-60.png" width="60" height="60"/>
<icon src="resources\ios\icon\[email protected]" width="120" height="120"/>
<icon src="resources\ios\icon\[email protected]" width="180" height="180"/>
<icon src="resources\ios\icon\icon-72.png" width="72" height="72"/>
<icon src="resources\ios\icon\[email protected]" width="144" height="144"/>
<icon src="resources\ios\icon\icon-76.png" width="76" height="76"/>
<icon src="resources\ios\icon\[email protected]" width="152" height="152"/>
<icon src="resources\ios\icon\icon-120.png" width="120" height="120"/>
<icon src="resources\ios\icon\icon-152.png" width="152" height="152"/>
<icon src="resources\ios\icon\icon-small.png" width="29" height="29"/>
<icon src="resources\ios\icon\[email protected]" width="58" height="58"/>
<icon src="resources\ios\icon\[email protected]" width="87" height="87"/>
</platform>
<icon src="resources\ios\icon\[email protected]"/>
</code></pre>
<p>任何指针?</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>我遇到了类似的问题,并通过这样做解决了它:</p>
<ol>
<li>转到我的 ionic 项目的主文件夹</li>
<li>运行“ ionic 资源”</li>
<li>运行“ionic build ios --release”</li>
<li>在 XCode 上:存档 </li>
<li>来自主办方:上传到应用商店</li>
</ol></p>
<p style="font-size: 20px;">关于上传到 App Store 时 iOS 缺少所需的图标文件,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/34290802/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/34290802/
</a>
</p>
页:
[1]