在捆绑 NSBundle 中找不到名为“Main"的故事板 [英] Could not find a storyboard named 'Main' in bundle NSBundle

查看:58
本文介绍了在捆绑 NSBundle 中找不到名为“Main"的故事板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序的过程中,我决定从使用 UIStoryboard 更改为 .xib 文件,现在我收到错误:

during the progress of my app I decided to change from using a UIStoryboard to .xib file, and now I get the error:

在捆绑 NSBundle 中找不到名为Main"的故事板

如何在我的应用程序的模拟器部分解决这个问题?

How can I fix this problem within the Simulator part of my app?

推荐答案

从 info.plist 中移除 "Main storyboard file base name""UIMainStoryboardFile" 键文件.

Remove the "Main storyboard file base name" or "UIMainStoryboardFile" Key from your info.plist file.

这篇关于在捆绑 NSBundle 中找不到名为“Main"的故事板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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