错题集---Could not find a storyboard named 'main' in bundle NSBundle

 

错题集---Could not find a storyboard named 'main' in bundle NSBundle 


step1:选中项目名后在TARGET中找到 info 然后修改 Main storyboard file base name的值为我们项目中storyboard得名称。


step2:点击Build Phases 后在Copy Bundle Resource下把我们项目的storyboard加进去,没有Copy Bundle Resource这一项的话可以在位置1处点击添加。


通过以上两步就可以确定我们的storyboard加入到项目中,并且被正确引用。






posted @ 2016-03-17 21:25  飞翔的猫  阅读(598)  评论(0编辑  收藏  举报