我尝试使用应用程序加载程序上传我的phonegap应用程序(.ipa文件),但它提供了以下错误
ERROR ITMS-9000: "Your binary is not optimized for iPhone 5 -
New iPhone apps and app updates submitted 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. Learn more about iPhone 5 support and app launch
images by reviewing the 'iOS Human Interface Guidelines' at 'https://developer.apple.com/library/ios/documentation/UserExperience
/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref
/doc/uid/TP40006556-CH14-SW5' and the 'iOS App Programming Guide' at
'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual
/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
我引用了许多采样但在所有样本中它都给出了相同的错误 我使用phonegap document它仍然给出相同的错误
这是我的config.xml
<icon src="icon.png" />
<icon src="icon@2x.png" />
<icon src="Icon-Small.png" />
<icon src="Icon-Small@2x.png" />
<icon src="Default.png" />
<icon src="Default@2x.png" />
<icon src="icon-568h@2x.png" />
<icon src="icons/ios/57.png" gap:platform="ios"
width="57" height="57" />
<icon src="72.png" gap:platform="ios"
width="72" height="72" />
<icon src="72@2x.png" />
<icon src="icons/ios/57-2x.png" gap:platform="ios"
width="114" height="114" />
<icon src="icons/ios/72-2x.png" gap:platform="ios"
width="144" height="144" />
<icon src="Icon-Small-50.png" />
<icon src="Icon-Small-50@2x.png" />
<icon src="Default-Landscape.png" />
<icon src="Default-Landscape@2x.png" />
<icon src="Default-Portrait.png" />
<icon src="Default-Portrait@2x.png" />
<icon src="Icon-40.png" />
<icon src="Icon-40@2x.png" />
<icon src="Icon-60.png" />
<icon src="Icon-60@2x.png" />
<icon src="Icon-76.png" />
<icon src="Icon-76@2x.png" />
<!-- Define app splash screen for each platform. -->
<gap:splash src="splashScreen.png" />
<gap:splash src="icons/ios/screen-iphone-portrait.png" gap:platform="ios"
width="320" height="480" />
<gap:splash src="icons/ios/ios/screen-iphone-portrait-2x.png" gap:platform="ios"
width="640" height="960" />
<gap:splash src="icons/ios/ios/screen-ipad-portrait.png" gap:platform="ios"
width="768" height="1024" />
<gap:splash src="icons/ios/ios/screen-ipad-landscape.png" gap:platform="ios"
width="1024" height="768" />
答案 0 :(得分:8)
好像我们错过了一些闪屏。您的应用应在配置中具有以下内容:
<gap:splash src="res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="res/screen/ios/screen-iphone-landscape.png" gap:platform="ios" width="480" height="320" />
<gap:splash src="res/screen/ios/screen-iphone-landscape-2x.png" gap:platform="ios" width="960" height="640" />
<gap:splash src="res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="res/screen/ios/screen-ipad-portrait-2x.png" gap:platform="ios" width="1536" height="2008" />
<gap:splash src="res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768" />
<gap:splash src="res/screen/ios/screen-ipad-landscape-2x.png" gap:platform="ios" width="2048" height="1496" />
<gap:splash src="res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136" />
将这些文件放在您的项目中,它会起作用。
答案 1 :(得分:3)
必须加载所有图标和屏幕
<icon src="icon.png" gap:platform="ios" width="57" height="57" />
<icon src="icon-60.png" gap:platform="ios" width="60" height="60" />
<icon src="icon-60@2x.png" gap:platform="ios" width="120" height="120" />
<icon src="icon@2x.png" gap:platform="ios" width="114" height="114" />
<!-- iPad -->
<icon src="icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="icon-72@2x.png" gap:platform="ios" width="144" height="144" />
<icon src="icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="icon-76@2x.png" gap:platform="ios" width="152" height="152" />
<!-- Settings Icon -->
<icon src="icon-small.png" gap:platform="ios" width="29" height="29" />
<icon src="icon-small@2x.png" gap:platform="ios" width="58" height="58" />
<icon src="icon-50.png" gap:platform="ios" width="50" height="50" />
<icon src="icon-50@2x.png" gap:platform="ios" width="100" height="100" />
<!-- Spotlight Icon -->
<icon src="icon-40.png" gap:platform="ios" width="40" height="40" />
<icon src="icon-40@2x.png" gap:platform="ios" width="80" height="80" />
<!-- Define app splash screen for each platform. -->
<!-- iPhone and iPod touch -->
<gap:splash src="Default.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="Default@2x.png" gap:platform="ios" width="640" height="960" />
<!-- iPhone 5 / iPod Touch (5th Generation) -->
<gap:splash src="Default-568h@2x.png" gap:platform="ios" width="640" height="1136" />
<!-- iPad -->
<gap:splash src="Default-Portrait.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="Default-Landscape.png" gap:platform="ios" width="1024" height="768" />
<!-- Retina iPad -->
<gap:splash src="Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048" />
<gap:splash src="Default-Landscape@2x.png" gap:platform="ios" width="2048" height="1536" />
答案 2 :(得分:1)
使用上面的回复帮助了我,这里是我的完整列表图标&amp;启动画面
<!-- iPhone -->
<icon src="res/icon/ios/icon-57.png" gap:platform="ios" width="57" height="57" />
<icon src="res/icon/ios/icon-57-2x.png" gap:platform="ios" width="114" height="114" />
<icon src="res/icon/ios/icon-60.png" gap:platform="ios" width="60" height="60" />
<icon src="res/icon/ios/icon-60-2x.png" gap:platform="ios" width="120" height="120" />
<!-- iPad -->
<icon src="res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="res/icon/ios/icon-72-2x.png" gap:platform="ios" width="144" height="144" />
<icon src="res/icon/ios/icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="res/icon/ios/icon-76-2x.png" gap:platform="ios" width="152" height="152" />
<!-- Settings Icon -->
<icon src="res/icon/ios/icon-small.png" gap:platform="ios" width="29" height="29" />
<icon src="res/icon/ios/icon-small-2x.png" gap:platform="ios" width="58" height="58" />
<icon src="res/icon/ios/icon-50.png" gap:platform="ios" width="50" height="50" />
<icon src="res/icon/ios/icon-50@2x.png" gap:platform="ios" width="100" height="100" />
<!-- Spotlight Icon -->
<icon src="res/icon/ios/icon-40.png" gap:platform="ios" width="40" height="40" />
<icon src="res/icon/ios/icon-40@2x.png" gap:platform="ios" width="80" height="80" />
<!-- WebOs -->
<icon src="res/icon/webos/icon-64.png" gap:platform="webos" />
<!-- Windows -->
<icon src="res/icon/windows-phone/icon-48.png" gap:platform="winphone" />
<icon src="res/icon/windows-phone/icon-173.png" gap:platform="winphone" gap:role="background" />
<!-- Define app splash screen for each platform. -->
<!-- iPad -->
<gap:splash src="res/screen/ios/screen-ipad-landscape.png" gap:platform="ios" width="1024" height="768" />
<gap:splash src="res/screen/ios/screen-ipad-landscape-2x.png" gap:platform="ios" width="2048" height="1496" />
<gap:splash src="res/screen/ios/screen-ipad-portrait.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="res/screen/ios/screen-ipad-portrait-2x.png" gap:platform="ios" width="1536" height="2008" />
<!-- iPhone -->
<gap:splash src="res/screen/ios/screen-iphone-landscape.png" gap:platform="ios" width="480" height="320" />
<gap:splash src="res/screen/ios/screen-iphone-landscape-2x.png" gap:platform="ios" width="960" height="640" />
<gap:splash src="res/screen/ios/screen-iphone-portrait.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="res/screen/ios/screen-iphone-portrait-2x.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="res/screen/ios/screen-iphone-portrait-568h-2x.png" gap:platform="ios" width="640" height="1136" />
答案 3 :(得分:0)
我搜索了几天找到同样问题的答案。我的解决方案是文件格式。 您只能使用PNG。文件名和路径无关紧要。当我尝试上传我的二进制文件时,我正在使用JPG并且它一直抛出相同的错误,一旦我切换到PNG,它就完美地工作了。
如果有人想要快速复制和粘贴,以下是所有图标和启动/启动尺寸。
<icon src="tools/images/icons/36.png" gap:platform="android" gap:qualifier="ldpi" />
<icon src="tools/images/icons/48.png" gap:platform="android" gap:qualifier="mdpi" />
<icon src="tools/images/icons/72.png" gap:platform="android" gap:qualifier="hdpi" />
<icon src="tools/images/icons/96.png" gap:platform="android" gap:qualifier="xhdpi" />
<icon src="tools/images/icons/29.png" gap:platform="ios" width="29" height="29" />
<icon src="tools/images/icons/40.png" gap:platform="ios" width="40" height="40" />
<icon src="tools/images/icons/50.png" gap:platform="ios" width="50" height="50" />
<icon src="tools/images/icons/57.png" gap:platform="ios" width="57" height="57" />
<icon src="tools/images/icons/58.png" gap:platform="ios" width="58" height="58" />
<icon src="tools/images/icons/60.png" gap:platform="ios" width="60" height="60" />
<icon src="tools/images/icons/72.png" gap:platform="ios" width="72" height="72" />
<icon src="tools/images/icons/76.png" gap:platform="ios" width="76" height="76" />
<icon src="tools/images/icons/80.png" gap:platform="ios" width="80" height="80" />
<icon src="tools/images/icons/100.png" gap:platform="ios" width="100" height="100" />
<icon src="tools/images/icons/114.png" gap:platform="ios" width="114" height="114" />
<icon src="tools/images/icons/120.png" gap:platform="ios" width="120" height="120" />
<icon src="tools/images/icons/144.png" gap:platform="ios" width="144" height="144" />
<icon src="tools/images/icons/152.png" gap:platform="ios" width="152" height="152" />
<icon src="tools/images/icons/64.png" gap:platform="webos" />
<icon src="tools/images/icons/48.png" gap:platform="winphone" />
<icon src="tools/images/icons/173.png" gap:platform="winphone" gap:role="background" />
<!-- Define app splash screen for each platform. -->
<gap:splash src="tools/images/splash/android/320x426.9.png" gap:platform="android" gap:qualifier="ldpi" />
<gap:splash src="tools/images/splash/android/320x470.9.png" gap:platform="android" gap:qualifier="mdpi" />
<gap:splash src="tools/images/splash/android/480x640.9.png" gap:platform="android" gap:qualifier="hdpi" />
<gap:splash src="tools/images/splash/android/720x960.9.png" gap:platform="android" gap:qualifier="xhdpi" />
<gap:splash src="tools/images/splash/ios/320x480.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="tools/images/splash/ios/640x960.png" gap:platform="ios" width="640" height="960" />
<gap:splash src="tools/images/splash/ios/640x1136.png" gap:platform="ios" width="640" height="1136" />
<gap:splash src="tools/images/splash/ios/768x1024.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="tools/images/splash/ios/1024x768.png" gap:platform="ios" width="1024" height="768" />
<gap:splash src="tools/images/splash/ios/1536x2008.png" gap:platform="ios" width="1536" height="2008" />
<gap:splash src="tools/images/splash/ios/1536x2048.png" gap:platform="ios" width="1536" height="2048" />
<gap:splash src="tools/images/splash/ios/2048x1496.png" gap:platform="ios" width="2048" height="1496" />
<gap:splash src="tools/images/splash/ios/2048x1536.png" gap:platform="ios" width="2048" height="1536" />
<gap:splash src="tools/images/splash/ios/320x480.png" gap:platform="winphone" />
同样,只有文件类型很重要。文件路径和文件名不重要;无论如何,phonegap build会重命名。
答案 4 :(得分:0)
我重新提交所有应用 这是链接
https://itunes.apple.com/us/app/english-words-memory-game/id907071052?l=tr&ls=1&mt=8
https://itunes.apple.com/us/app/243/id896701562?l=tr&ls=1&mt=8
https://play.google.com/store/apps/details?id=com.hybridsoftware.game
https://play.google.com/store/apps/details?id=com.hybridsoftware.synonymsmemorygame