Could not find a storyboard named 'Main' in bundle NSBundle?
来源:互联网 发布:淘宝怎么注册天猫 编辑:程序博客网 时间:2024/06/05 09:31
有时候运行工程的时候会莫名出现这个崩溃,一般出现的原因可能是:
1、从xcode新建一个工程,有时候希望不用storyboard,想用纯代码创建在删除了main.storyboard之后会出现这个错误。
2、 项目工程名修改
3、国际化操作
4、窗口切换 等等
Could not find a storyboard named 'Main' in bundle NSBundle?
因为当时忘了截图,现在借用网友的截图
网上说通过 ‘Clean’ 就可以了,其实也是治标不治本的方法,再次运行可能又出现了。还有的是删除’Main.storyboard’ 重新添加就好了,也有重命名解决的,但是还没有发现根治的。我最近几个项目也是偶然遇到这个问题,最后通过下面方法解决了
如图:
具体原因不太清除,如果有知道的小伙伴可以留言讨论!
阅读全文
0 0
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- 'Could not find a storyboard named 'Main' in bundle NSBundle ***
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle?
- 删除storyboard之后出现Could not find a storyboard named 'Main' in bundle NSBundle这种现象
- Could not find a storyboard named 'MainStoryBoard' in bundle NSBundle
- 错题集---Could not find a storyboard named 'main' in bundle NSBundle
- Wrong02-Could not find a storyboard named‘Main’in bundle NSBundle
- iOS开发-Could not find a storyboard named 'Main' in bundle NSBundle
- Could not find a storyboard named 'Main' in bundle NSBundle </Users/liuyuhang/Library/Developer/Core
- Could not find a storyboard named 'Main' in bundle
- 解决Could not find a storyboard named 'MainStoryBoard' in bundle NSBundle
- “Could not find a storyboard named 'MainStoryboard' in bundle NSBundle” 的问题。
- Spring boot和Mybatis整合+Mysql+jsp页面跳转问题(借助FreeMarker)
- Binder.clearCallingIdentity && Binder.restoreCallingIdentity作用
- 人脸检测——AFLW准备人脸
- google翻译的用法 使用translate.google.com翻译整个网页内容
- ipython notebook实用教程
- Could not find a storyboard named 'Main' in bundle NSBundle?
- 【好久不见】捡起mysql的存储过程
- 根据域名动态获取IP地址(iOS)
- 打造云上代码交付链_CodePipeline实践分享
- 使用WebView在Android中嵌套html网页
- Error:Failed to complete Gradle execution.
- JAVA位运算
- 深入理解分布式事务
- MIUI8不用root更换字体的方法