xcode 在捆绑 NSBundle 中找不到名为“Main”的故事板
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/25739477/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Could not find a storyboard named 'Main' in bundle NSBundle
提问by user3863704
during the progress of my app I decided to change from using a UIStoryboard to .xib file, and now I get the error:
在我的应用程序的过程中,我决定从使用 UIStoryboard 更改为 .xib 文件,现在我收到错误消息:
Could not find a storyboard named 'Main' in bundle NSBundle
在捆绑 NSBundle 中找不到名为“Main”的故事板
How can I fix this problem within the Simulator part of my app?
如何在我的应用程序的模拟器部分解决这个问题?
回答by Hemant Chittora
Remove the "Main storyboard file base name"
or "UIMainStoryboardFile"
Key from your info.plist file.
从 info.plist 文件中删除"Main storyboard file base name"
或"UIMainStoryboardFile"
键。