缺少Retina 4发射图像。如何忽略此错误? [英] Missing Retina 4 launch image. How to ignore this error?

查看:279
本文介绍了缺少Retina 4发射图像。如何忽略此错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用SDK 6.0更新Xcode会在尝试编译项目时出错。

Updating Xcode with SDK 6.0 gives you an error when trying to compile your project.

缺少Retina 4启动图像。在Retina 4设备上以原始分辨率运行需要名为Default-568@2x.png的启动映像。你想要Xcode为你添加这个图像吗?

Missing Retina 4 launch image. A launch image named "Default-568@2x.png" is required to run at native resolution on Retina 4 devices. Would you like Xcode to add this image for you?

当点击添加时,它会创建一个大小为640x1136的黑色启动图像。我知道我可以用合适的图像轻松替换这个图像。但是XCode给了我一个错误并强迫我拥有这个文件。如果我不想包含这个,我怎么能跳过这个错误,只使用已经存在的较短的启动图像?

When clicking add, it creates a black launch image of size 640x1136. I know I can easily replace this image with an appropriate one. But XCode is giving me an error and forcing me to have this file. If I don't want to include this, how can I skip this error and just use the shorter launch image already there?

屏幕截图:http://spacetech.dk/xcode-missing-retina-4-launch-image.html

推荐答案

更新:好像你不能忽视他的错误。上传二进制文件时最终会失败。只需提供视网膜图像。用户会喜欢它:D

Update: seems like you can’t ignore his error. It will eventually fail when you upload the binary. Just provide the retina image. Users will like it :D

-----

这似乎只是一个警告我添加该文件,然后将其删除。这很奇怪。

It appears to be just a warning when I added that file and then later remove it. This is weirdddd.

仅供参考,通过在目标摘要中加入Retina 4英寸启动图像文件(Default-568h@2x.png),它将强制应用被拉伸到完整的4英寸显示屏。为了让您的应用再次以3.5英寸屏幕模式运行,除了删除4英寸图像之外,您还必须清理项目并删除应用。

FYI, by including a Retina 4-inch launch image file (Default-568h@2x.png) in your target summary, it will force the app to be stretched to full 4-inch display. In order to keep your app to run in 3.5-inch screen mode again, other than removing the 4-inch image you also have to **clean your project AND delete the app.

这篇关于缺少Retina 4发射图像。如何忽略此错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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