Xcode 11 UILaunchImages已被弃用,请使用启动情节提要替代警告 [英] Xcode 11 UILaunchImages has been deprecated, use launch storyboards instead Warning
问题描述
我刚刚下载了Xcode 11 Beta 4,当我想构建自己的Swift 4项目时,我得到了:
I just downloaded Xcode 11 Beta 4 and when I want to build my Swift 4 project gives me:
UILaunchImages已被弃用,请改用启动故事板
UILaunchImages has been deprecated, use launch storyboards instead
我该如何解决?
推荐答案
请阅读 Xcode 11 beta 4发行说明:
已知问题
如果您的应用包含启动映像,则可能无法构建.该失败消息类似于以下内容:名为< image set name>的启动映像集没有任何适用的内容."启动图像已弃用,应将其删除;请改用启动故事板或.xib文件. (50210495)
Your app might fail to build if it contains a launch image. The failure message resembles the following: "The launch image set named <image set name> did not have any applicable content." Launch images are deprecated and should be removed; use a launch storyboard or .xib file instead. (50210495)
解决方法:清除构建设置ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME.
Workaround: Clear the build setting ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME.
这篇关于Xcode 11 UILaunchImages已被弃用,请使用启动情节提要替代警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!