Phonegap app submission to AppStore - ITMS-9000 error

时光总嘲笑我的痴心妄想 提交于 2019-11-28 10:29:46

问题


On attempting to submit my Phonegap app to the Appstore I get the following error

ERROR ITMS-9000: "Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted targeting iOS 6 and above must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the <basename> portion of the launch image's filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images.

I have the following splash images specified in my 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" />

Can anyone point me in the direction of what I'm doing wrong?


回答1:


you have to add proper splash screen images for supporting 4.0 inch devices.
Naming convention for splash screen.
Default.png for non-retina 3.5" devices.
Default@2x.png for retina 3.5" devices.
Default-568h@2x.png for retina 4.0" devices.




回答2:


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

You can find any other splash screen sizes here: http://www.ios-developer.net/iphone-ipad-programmer/icons_and_graphics/default-image



来源:https://stackoverflow.com/questions/21456317/phonegap-app-submission-to-appstore-itms-9000-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!