【问题标题】:Phonegap app submission to AppStore - ITMS-9000 errorPhonegap 应用程序提交到 AppStore - ITMS-9000 错误
【发布时间】:2023-03-09 20:21:01
【问题描述】:

在尝试将我的 Phonegap 应用程序提交到 Appstore 时,我收到以下错误

错误 ITMS-9000:“您的二进制文件未针对 iPhone 5 进行优化 - 针对 iOS 6 及更高版本提交的新 iPhone 应用程序和应用程序更新必须支持 iPhone 5 上的 4 英寸显示屏,并且必须包含带有 -568h 的启动图像紧跟启动图像文件名的 <basename> 部分的大小修饰符。启动图像必须是 PNG 文件,并且位于包的顶层,或者如果您本地化启动图像,则在每个 .lproj 文件夹中提供。

我在 Phonegap config.xml 中指定了以下启动画面

<gap:splash src="images/splash320x480.png" width="320" height="480" />
<gap:splash src="images/splash640x960.png" width="640" height="960" />
<gap:splash src="images/splash1024x768.png" width="1024" height="768" />
<gap:splash src="images/splash768x1024.png" width="768" height="1024" />
<gap:splash src="images/splash1024x748.png" width="1024" height="748" />
<gap:splash src="images/splash1024x748.png" width="1024" height="748" />
<gap:splash src="images/splash1496x2048.png" width="1496" height="2048" />
<gap:splash src="images/splash768x1004.png" width="768" height="1004" />
<gap:splash src="images/splash1536x2008.png" width="1536" height="2008" />p
<gap:splash src="images/splash2048x1536.png" width="2048" height="1536" />
<gap:splash src="images/splash1536x2048.png" width="1536" height="2048" />
<gap:splash src="images/splash_retina_640x1136.png" width="640" height="1136" />
<gap:splash src="images/splash_retina_640x960.png" width="640" height="960" />
<gap:splash src="images/splash640x1136.png" width="640" height="1136" />

谁能指出我做错的方向?

【问题讨论】:

标签: iphone cordova app-store


【解决方案1】:

您必须添加适当的初始屏幕图像以支持 4.0 英寸设备。
启动画面的命名约定。
Default.png 用于非视网膜 3.5" 设备。
Default@2x.png 用于 Retina 3.5" 设备。
用于视网膜 4.0" 设备的 Default-568h@2x.png。

【讨论】:

    【解决方案2】:

    Default-568h@2x.png (640x1136px) – “iPhone Portrait iOS5,6 – Retina 4”和“iPhone Portrait iOS7,8 – Retina 4”

    您可以在此处找到任何其他初始屏幕尺寸: http://www.ios-developer.net/iphone-ipad-programmer/icons_and_graphics/default-image

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-08-03
      • 2015-01-23
      • 2017-11-03
      • 2015-06-16
      • 2015-11-08
      • 1970-01-01
      • 2014-02-23
      • 2013-09-06
      相关资源
      最近更新 更多