【发布时间】:2020-03-20 01:49:59
【问题描述】:
我一直在尝试将 ipa 文件上传到 Apple Connect 进行测试。
它由 Phonegap 构建生成,用于 App ID 3729636。
我正在使用服务上传,因为我没有 MAC。
错误如下:ERROR ITMS-90032:“无效的图像路径 - 在键 'CFBundleIcons' 下引用的路径中找不到图像:'AppIcon20x20'”
The icon files are as follows:
ios图标和屏幕配置文件摘录为:
<platform name="ios">
<!-- iOS 8.0+ -->
<!-- iPhone 6 Plus -->
<icon src="res/icon/ios/icon-60@3x.png" width="180" height="180" />
<!-- iOS 7.0+ -->
<!-- iPhone / iPod Touch -->
<icon src="res/icon/ios/icon-60.png" width="60" height="60" />
<icon src="res/icon/ios/icon-60@2x.png" width="120" height="120" />
<!-- iPad -->
<icon src="res/icon/ios/icon-76.png" width="76" height="76" />
<icon src="res/icon/ios/icon-76@2x.png" width="152" height="152" />
<!-- Spotlight Icon -->
<icon src="res/icon/ios/icon-40.png" width="40" height="40" />
<icon src="res/icon/ios/icon-40@2x.png" width="80" height="80" />
<!-- iOS 6.1 -->
<!-- iPhone / iPod Touch -->
<icon src="res/icon/ios/icon.png" width="57" height="57" />
<icon src="res/icon/ios/icon@2x.png" width="114" height="114" />
<!-- iPad -->
<icon src="res/icon/ios/icon-72.png" width="72" height="72" />
<icon src="res/icon/ios/icon-72@2x.png" width="144" height="144" />
<!-- iPad Pro -->
<icon src="res/icon/ios/icon-167.png" width="167" height="167" />
<!-- iPhone Spotlight and Settings Icon -->
<icon src="res/icon/ios/icon-small.png" width="29" height="29" />
<icon src="res/icon/ios/icon-small@2x.png" width="58" height="58" />
<icon src="res/icon/ios/icon-small@3x.png" width="87" height="87" />
<!-- iPad Spotlight and Settings Icon -->
<icon src="res/icon/ios/icon-50.png" width="50" height="50" />
<icon src="res/icon/ios/icon-50@2x.png" width="100" height="100" />
<!-- iPad Pro -->
<icon src="res/icon/ios/icon-83.5@2x.png" width="167" height="167" />
<!-- Was missing -->
<icon src="res/icon/ios/icon-20.png" width="20" height="20" />
<splash height="1136" platform="ios" src="res/screen/ios/Default-568h@2x~iphone.png" width="640" />
<splash height="1334" platform="ios" src="res/screen/ios/Default-667h.png" width="750" />
<splash height="2208" platform="ios" src="res/screen/ios/Default-736h.png" width="1242" />
<splash height="1242" platform="ios" src="res/screen/ios/Default-Landscape-736h.png" width="2208" />
<splash height="1536" platform="ios" src="res/screen/ios/Default-Landscape@2x~ipad.png" width="2048" />
<splash height="768" platform="ios" src="res/screen/ios/Default-Landscape~ipad.png" width="1024" />
<splash height="2048" platform="ios" src="res/screen/ios/Default-Portrait@2x~ipad.png" width="1536" />
<splash height="1024" platform="ios" src="res/screen/ios/Default-Portrait~ipad.png" width="768" />
<splash height="960" platform="ios" src="res/screen/ios/Default@2x~iphone.png" width="640" />
<splash height="480" platform="ios" src="res/screen/ios/Default~iphone.png" width="320" />
</platform>
我尝试了很多版本的 CLI,从 6.5.0 到 9.0.0,没有太大区别(只有 6.5.0 有不同的错误)。
The latest is 9.0.0 : <preference name="phonegap-version" value="cli-9.0.0"/>
为了进行构建,我打包 www 目录并上传生成的 zip 文件。
请帮忙!
【问题讨论】:
标签: ios phonegap-build