2015-06-18 25 views
1

嘗試提交的iTunes連接我的PhoneGap應用,得到了這個錯誤:缺少的圖標的PhoneGap 4個IOS

iTunes Connect upload error

這裏我的config.xml:

<icon src="icon.png" /> 
<platform name="android"> 
    <icon src="www/res/android/icon.png" /> 
</platform> 
<platform name="ios"> 
    <!-- iOS 6.1 --> 
    <!-- Spotlight Icon --> 
    <icon src="www/res/ios/icon-40.png" width="40" height="40" /> 
    <icon src="www/res/ios/[email protected]" width="80" height="80" /> 
    <!-- iPad Spotlight and Settings Icon --> 
    <icon src="www/res/ios/icon-50.png" width="50" height="50" /> 
    <icon src="www/res/ios/[email protected]" width="100" height="100" /> 
    <!-- iPhone/iPod Touch --> 
    <icon src="www/res/ios/icon-57.png" width="57" height="57" /> 
    <icon src="www/res/ios/[email protected]" width="114" height="114" /> 
    <!-- iOS 7.0+ --> 
    <!-- iPhone/iPod Touch --> 
    <icon src="www/res/ios/icon-60.png" width="60" height="60" /> 
    <icon src="www/res/ios/[email protected]" width="120" height="120" /> 
    <!-- iPad --> 
    <icon src="www/res/ios/icon-72.png" width="72" height="72" /> 
    <icon src="www/res/ios/[email protected]" width="144" height="144" /> 
    <!-- iPad --> 
    <icon src="www/res/ios/icon-76.png" width="76" height="76" /> 
    <icon src="www/res/ios/[email protected]" width="152" height="152" /> 
    <!-- iPhone Spotlight and Settings Icon --> 
    <icon src="www/res/ios/icon-small.png" width="29" height="29" /> 
    <icon src="www/res/ios/[email protected]" width="58" height="58" /> 
</platform> 

我已經試過將config xml移動到/ www文件夾,但同樣的問題發生。

有人可以幫助我嗎?我的錯誤在哪裏?

回答

0

嘗試在項目的根目錄(不是www)中創建新目錄,並在其中放置圖標。 Config.xml也應該位於項目的根目錄中。

例如 <icon src="icons/res/ios/icon-40.png" width="40" height="40" />

您也可以上傳你的圖標使用Xcode的手動。