PhoneGap 发布图片 iOS Apple Store 提交 [英] PhoneGap Launch Image iOS Apple Store Submission

查看:24
本文介绍了PhoneGap 发布图片 iOS Apple Store 提交的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一如既往,将我的 PhoneGap 应用程序提交到 iTunesConnect 相当麻烦.特别是当我尝试使用 Application Loader 时,我看到弹出的这条新消息.

As always the submission to iTunesConnect of my PhoneGap application is being rather troublesome. In particular is this new message I see pop up when I try to use Application Loader.

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.

每个 https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html 我创建了一个 640 x 1136 的图像,将其命名为Launch_Image_640x1136-568h.png",并将其放在 www 文件夹中.尽管如此,它还是给了我错误.

Per https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html I have created an image of 640 x 1136, named it "Launch_Image_640x1136-568h.png", and placed it in the www folder. Still, it gives me the error.

这是怎么回事?希望这是一件简单易行的事情,但我现在不知所措.任何人有任何信息或解决方案吗?谢谢.

What's going on here? Hopefully this is something simple and easy to take care of, but I'm at my wit's end right now. Anyone have any information or solutions to this? Thanks.

**更新**

我在 Windows 8.1 上使用 Aptana 3 开发应用程序,并且只使用 Mac 来处理证书、密钥、p12 文件和上传.我没有通过 xcode 在 Mac 上使用 PhoneGap.

I develop the app with Aptana 3 on Windows 8.1 and only use a mac for certificates, keys, p12 files, and uploading. I'm not using PhoneGap on a mac through xcode.

推荐答案

所以我一直坚持,今天终于在这里找到了答案http://community.phonegap.com/nitobi/topics/iphone_5_optimization_requirement-on7f1 和这里 https://github.com/phonegap/phonegap-start/blob/master/www/config.xml

So I kept on and finally found the answer today here http://community.phonegap.com/nitobi/topics/iphone_5_optimization_requirement-on7f1 and here https://github.com/phonegap/phonegap-start/blob/master/www/config.xml

简而言之,问题的出现是因为 Apple 在他们永无止境的追求让事情变得困难的过程中,现在要求在所有应用程序中都包含一个启动屏幕"图像.因此,您现在必须拥有 3 个不同大小的启动屏幕图像,每个图像都有特定的命名程序.我通过上面的链接找到的解决方案是将启动屏幕图像放在根目录中,并将以下三行添加到 config.xml

In a nutshell the issue arose because Apple, in their never ending pursuit to make things difficult, now requires a "launch screen" image to be included in all apps. As a result, you now have to have, currently, 3 different sized launch screen images with a specific naming procedure on each. The solution that I found via the links above was to place the launch screen images in the root directory and add the following three lines to config.xml

<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" />
<gap:splash src="Default-568h@2x.png" gap:platform="ios"     width="640" height="1136" />

我不确定启动屏幕图像是否需要位于根目录中,但目前它对我有用.另外,我不确定图像是否必须以默认"开头,但我知道较大的两个图像必须在文件名的末尾有@2x"和-568h@2x"与最小图像同名.

I'm not sure if the launch screen images are required to be in the root directory or not, but it works for me at the moment. Also, I'm not sure if the images have to begin with "Default", but I do know that the larger two images have to have "@2x" and "-568h@2x" on the end of the file name that's the same name as the smallest image.

有关启动屏幕"的更多信息,请参阅 Apple 此处的文档 https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html

For more information on "launch screens" see Apple's documentation here https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html

希望这对某人有所帮助.

Hope this helps someone.

这篇关于PhoneGap 发布图片 iOS Apple Store 提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆