Could not find a storyboard named 'main' in bundle NSBundle
来源:互联网 发布:kk是什么软件 编辑:程序博客网 时间:2024/06/05 11:21
项目里的文件被改来改去,折腾的不行。加上对Xcode不了解的缘故导致了Could not find a storyboard named 'MainStoryboard' in bundle NSBundle 的问题。
解决问题的灵感还是来自一篇老外的随笔,修改方式:
step1:选中项目名后在TARGET中找到 info 然后修改 Main storyboard file base name的值为我们项目中storyboard得名称。
step2接step1 点击Build Phases 后在Copy Bundle Resource下把我们项目的storyboard加进去,没有Copy Bundle Resource这一项的话可以在位置1处点击添加。
通过以上两步就可以确定我们的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” 的问题。
- 微软经典面试测试题和参考答案(变态) - TOMB RAIDER - CSDNBlog(转载)
- ansible.cfg 参数配置
- 值传递与引用传递的区别
- [9]【ffmpeg源码分析 1】av_register_all()和avcodec_register_all()
- hdu 1250 Hat's Fibonacci
- Could not find a storyboard named 'main' in bundle NSBundle
- 不需titleBar即可使用菜单
- Android常用控件——日期选择器
- 微信小程序例子——使用swiper组件实现图片切换
- JavaCC How to access non-terminal's TOKEN child
- 利用btrace在线监控java程序状态
- c++类中的this指针
- 数据结构(五)——二叉树(C语言实现)
- 根据日期筛选