2015-12-15 44 views
2

當我建立使用IonicCordova iOS應用程序,然後最終用於PhoneGap Build打包的應用程序。然而,當我試着上傳應用程序在App Store我收到以下錯誤:的iOS缺少必需的圖標文件上傳到App Store的

enter image description here

首先,我不明白的第一個錯誤暗示,存在的icon.png文件。此外,其他圖像也包含在包中。這是我定義圖標的config.xml文件:

<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]"/> 

任何指針?

+0

幾件事情可能會有所幫助:文件路徑應該是'resources/ios/icon/icon.png'而不是'resources \ ios \ icon \ icon.png',這個路徑是否存在於發送給PhoneGapBuild的ZIP或回購站中?此外,還應該有一個默認圖標設置爲'<圖標SRC =「的icon.png」 />'(和在基座路徑)作爲PhoneGapBuild文檔定義。看看是否有這些的幫助 –

+0

我跟道森同意。 – JesseMonroy650

回答

2

我碰到了類似的問題,通過做這個固定:

  1. 去我離子項目的主文件夾
  2. 然「離子資源」
  3. 然「離子構建IOS - -release」
  4. 上的XCode:存檔
  5. 從主辦單位:上傳到App商店
相關問題