簡體   English   中英

科爾多瓦無效的圖像路徑AppIcon83.5x83.5

[英]cordova invalid image path AppIcon83.5x83.5

我的cordova版本是7.1.0而cordova-ios版本是4.5.3

當我嘗試使用ApplicationLoader將我的應用上傳到Appstore時,它將返回

錯誤ITMS-90032:“無效的圖像路徑-在鍵'CFBundleIcons':'AppIcon83.5.x83.5'下引用的路徑中找不到圖像”

這是我的config.xml ios的圖標部分

<platform name="ios">
    <allow-intent href="itms:*" />
    <allow-intent href="itms-apps:*" />
    <icon height="180" src="res/icon/ios/icon-60@3x.png" width="180" />
    <icon height="60" src="res/icon/ios/icon-60.png" width="60" />
    <icon height="120" src="res/icon/ios/icon-60@2x.png" width="120" />
    <icon height="76" src="res/icon/ios/icon-76.png" width="76" />
    <icon height="152" src="res/icon/ios/icon-76@2x.png" width="152" />
    <icon height="40" src="res/icon/ios/icon-40.png" width="40" />
    <icon height="80" src="res/icon/ios/icon-40@2x.png" width="80" />
    <icon height="57" src="res/icon/ios/icon.png" width="57" />
    <icon height="114" src="res/icon/ios/icon@2x.png" width="114" />
    <icon height="72" src="res/icon/ios/icon-72.png" width="72" />
    <icon height="144" src="res/icon/ios/icon-72@2x.png" width="144" />
    <icon height="167" src="res/icon/ios/icon-167.png" width="167" />
    <icon height="29" src="res/icon/ios/icon-small.png" width="29" />
    <icon height="58" src="res/icon/ios/icon-small@2x.png" width="58" />
    <icon height="87" src="res/icon/ios/icon-small@3x.png" width="87" />
    <icon height="50" src="res/icon/ios/icon-50.png" width="50" />
    <icon height="100" src="res/icon/ios/icon-50@2x.png" width="100" />
    <icon height="167" src="res/icon/ios/icon-83.5@2x.png" width="167" />
</platform>

我可以通過xcode或cordova cli在模擬器中成功構建並運行該應用程序。

我試過刪除node_modulesplatformsplugins文件夾,然后重新安裝並重新添加ios平台等。。。但是幾次都沒有幫助。

不知道發生了什么。 有人可以幫忙嗎?

好的,問題是您的應用程序圖標大小為83.5x83.5,丟失了。 我在您的config.xml文件中看到了它的雙倍大小圖標。 還請包括該圖標。

您可以手動添加應用程序圖標,然后在config.xml文件中對其進行編輯

嘗試使用此解決方案上傳您的應用。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM