2015-04-16 48 views
0

最近,我改变了我的应用程序从iOS8上到iOS7的部署目标,我现在看到这个警告在Xcode:Applications using Launch Screen Files and targetting iOS 7.1 and earlier need to also include a Launch Image in an Asset Catalog.LaunchImage警告在Xcode的iOS 7的部署目标

不知道为什么。我在我的Images.xcassets中为iOS 8设置了LaunchScreen.xib设置我还为每个iOS 7.0及更高版本的设备以及iOS 8.0和更高版本的设备提供了一个LaunchImage图像。任何人都可以告诉我为什么我可能会看到这个警告吗?谢谢!

编辑:

enter image description here

enter image description here

+0

的iOS 7不使用启动画面文件(该功能是新的到iOS 8)。它需要启动图像。 – rmaddy

+0

只需按照以下步骤操作; http://stackoverflow.com/questions/18780476/ios-7-app-icons-launch-images-and-naming-convention-while-keeping-ios-6-icons/22353990#22353990 – msmq

回答

1

在项目的常规设置,你必须选择一个资产类别,推出图像为您的应用。看到下面的图片。

Asset catalog

+0

我编辑我的问题。我看起来有点不同。我只有“使用资产目录”按钮,然后选择迁移。我只是打那个,然后在第二个菜单中选择“图像”? – KexAri

+0

是的,您必须继续“Images.xcassets”并设置“启动图像”图标后 – Andr3a88