美文网首页
更换为storyboard启动图,解决None of the i

更换为storyboard启动图,解决None of the i

作者: Venhoe | 来源:发表于2020-04-08 12:12 被阅读0次

先说一下心路历程

最近苹果要求所有上线的app必须以storyboard(故事板) 来提供 app 的启动屏幕。于是之前的项目更新都要替换以前的LaunchImage启动图。虽然苹果官网说推迟要6月份,但早晚都得改。

在更改时遇到了一个报错, None of the input catalogs contained a matching launch image set named "LaunchImage".此时我已经把LaunchImage删了启动方式也换成了storyboard,plist文件也改了。网上找了一些都是几年前的文章,基本都是让我新建LaunchImage,但是现在又不能用LaunchImage。所以就自己想办法。

解决办法:

进入Build Setting 里面搜索LaunchImage,结果如下,删掉这一行就行了。

相关文章

网友评论

      本文标题:更换为storyboard启动图,解决None of the i

      本文链接:https://www.haomeiwen.com/subject/ehazphtx.html