【发布时间】: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" />
谁能指出我做错的方向?
【问题讨论】:
-
您可以打开手机间隙生成的Xcode项目文件,检查它是否分配了正确的启动图像。
-
检查这个stackoverflow.com/questions/18736954/…。它包含新的 UI 要求