phonegap 图标在 iPhone 上不起作用

phonegap icon not working on iPhone

我正在创建一个 phonegap 应用程序...我在模拟器中看到了应用程序图标,然后当我把它放在我的实际 iPhone 上时,我看到了 PG Build App 图标。 .我的ipa取名为PG Build App。如何让应用程序图标在我的实际 phone 上发生变化?

这是我的 config.xml:

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.bolton.chris" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>KMtoMiles</name>
<description>
    Converts Kilometers to Miles
</description>
<author>
    Chris Bolton
</author>
<icon src="Resources/icons/running.png" platform="ios"/>
<splash src="www/img/nature_background.jpg" platform="ios"/>
<content src="index.html" />
<access origin="*" />

我以前遇到过这个问题。我的 xml 更改未反映到新版本中。简单的解决方案是转到默认 phone 间隙实际获取图标的资源文件夹。然后用您的图标替换它们。为了获得最佳效果,请使用默认 phone 间隙图标重命名您的图标。